mirror of
https://github.com/koalaman/shellcheck
synced 2025-07-05 12:36:06 -07:00
Fix stacktest complaining about permissions on /mnt
This commit is contained in:
parent
7f3f014d49
commit
3c75d82db5
2 changed files with 4 additions and 4 deletions
|
@ -17,13 +17,13 @@ and is still highly experimental.
|
||||||
Make sure you're plugged in and have screen/tmux in place,
|
Make sure you're plugged in and have screen/tmux in place,
|
||||||
then re-run with $0 --run to continue.
|
then re-run with $0 --run to continue.
|
||||||
|
|
||||||
Also note that dist* will be deleted.
|
Also note that dist*/ and .stack-work/ will be deleted.
|
||||||
EOF
|
EOF
|
||||||
exit 0
|
exit 0
|
||||||
}
|
}
|
||||||
|
|
||||||
echo "Deleting 'dist' and 'dist-newstyle'..."
|
echo "Deleting 'dist', 'dist-newstyle', and '.stack-work'..."
|
||||||
rm -rf dist dist-newstyle
|
rm -rf dist dist-newstyle .stack-work
|
||||||
|
|
||||||
execs=$(find . -name shellcheck)
|
execs=$(find . -name shellcheck)
|
||||||
|
|
||||||
|
|
|
@ -15,7 +15,7 @@ die() { echo "$*" >&2; exit 1; }
|
||||||
command -v stack ||
|
command -v stack ||
|
||||||
die "stack is missing"
|
die "stack is missing"
|
||||||
|
|
||||||
stack setup || die "Failed to setup with default resolver"
|
stack setup --allow-different-user || die "Failed to setup with default resolver"
|
||||||
stack build --test || die "Failed to build/test with default resolver"
|
stack build --test || die "Failed to build/test with default resolver"
|
||||||
|
|
||||||
# Nice to haves, but not necessary
|
# Nice to haves, but not necessary
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue