Apply codesign for console app
This commit is contained in:
@@ -6,7 +6,7 @@
|
||||
##
|
||||
|
||||
CONSOLE_APP=$1
|
||||
|
||||
CERT_NAME="Developer ID Application: Chung Min Ahn (NYU8YAYHF8)"
|
||||
|
||||
echo "build console bin/${CONSOLE_APP}"
|
||||
|
||||
@@ -16,5 +16,7 @@ rm -rf .build
|
||||
|
||||
swift build -c release --enable-dead-strip
|
||||
|
||||
cp ./.build/release/${CONSOLE_APP} ../bin
|
||||
codesign --sign "${CERT_NAME}" .build/release/${CONSOLE_APP}
|
||||
|
||||
cp .build/release/${CONSOLE_APP} ../bin
|
||||
|
||||
|
||||
Reference in New Issue
Block a user