mirror of
https://github.com/koalaman/shellcheck.git
synced 2025-08-25 23:05:07 +08:00
Rename build/ to builders/ to avoid looking like build output
This commit is contained in:
13
builders/darwin.x86_64/build
Executable file
13
builders/darwin.x86_64/build
Executable file
@@ -0,0 +1,13 @@
|
||||
#!/bin/sh
|
||||
set -xe
|
||||
{
|
||||
tar xzv --strip-components=1
|
||||
chmod +x striptests && ./striptests
|
||||
mkdir "$TARGETNAME"
|
||||
( IFS=';'; cabal build $CABALOPTS )
|
||||
find . -name shellcheck -type f -exec mv {} "$TARGETNAME/" \;
|
||||
ls -l "$TARGETNAME"
|
||||
"$TARGET-strip" -Sx "$TARGETNAME/shellcheck"
|
||||
ls -l "$TARGETNAME"
|
||||
} >&2
|
||||
tar czv "$TARGETNAME"
|
Reference in New Issue
Block a user