mirror of
https://github.com/koalaman/shellcheck.git
synced 2025-08-25 17:51:05 +08:00
Rename build/ to builders/ to avoid looking like build output
This commit is contained in:
17
builders/linux.armv6hf/build
Executable file
17
builders/linux.armv6hf/build
Executable file
@@ -0,0 +1,17 @@
|
||||
#!/bin/sh
|
||||
set -xe
|
||||
mkdir /scratch && cd /scratch
|
||||
{
|
||||
tar xzv --strip-components=1
|
||||
cp /etc/cabal.project.freeze .
|
||||
chmod +x striptests && ./striptests
|
||||
mkdir "$TARGETNAME"
|
||||
# This script does not cabal update because compiling anything new is slow
|
||||
( IFS=';'; cabal build $CABALOPTS --enable-executable-static )
|
||||
find . -name shellcheck -type f -exec mv {} "$TARGETNAME/" \;
|
||||
ls -l "$TARGETNAME"
|
||||
strip -s "$TARGETNAME/shellcheck"
|
||||
ls -l "$TARGETNAME"
|
||||
"$TARGETNAME/shellcheck" --version
|
||||
} >&2
|
||||
tar czv "$TARGETNAME"
|
Reference in New Issue
Block a user