mirror of
https://github.com/koalaman/shellcheck
synced 2025-07-05 20:41:35 -07:00
13 lines
332 B
Bash
Executable file
13 lines
332 B
Bash
Executable file
#!/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"
|