Avoid stripping darwin.aarch64 binaries to keep code signature
This commit is contained in:
parent
8c4c112c25
commit
55be4543f2
|
@ -8,7 +8,9 @@ set -xe
|
||||||
( IFS=';'; cabal build $CABALOPTS )
|
( IFS=';'; cabal build $CABALOPTS )
|
||||||
find . -name shellcheck -type f -exec mv {} "$TARGETNAME/" \;
|
find . -name shellcheck -type f -exec mv {} "$TARGETNAME/" \;
|
||||||
ls -l "$TARGETNAME"
|
ls -l "$TARGETNAME"
|
||||||
"$TARGET-strip" "$TARGETNAME/shellcheck"
|
# Stripping invalidates the code signature and the build image does
|
||||||
|
# not appear to have anything similar to the 'codesign' tool.
|
||||||
|
# "$TARGET-strip" "$TARGETNAME/shellcheck"
|
||||||
ls -l "$TARGETNAME"
|
ls -l "$TARGETNAME"
|
||||||
file "$TARGETNAME/shellcheck" | grep "Mach-O 64-bit arm64 executable"
|
file "$TARGETNAME/shellcheck" | grep "Mach-O 64-bit arm64 executable"
|
||||||
} >&2
|
} >&2
|
||||||
|
|
Loading…
Reference in New Issue