mirror of
https://github.com/commercialhaskell/stackage.git
synced 2026-07-28 15:54:34 +02:00
build.sh: add TEST_RUN for not publishing
This commit is contained in:
parent
7af2bb0a33
commit
017a89de7d
@ -158,6 +158,10 @@ docker run -t $ARGS_BUILD $IMAGE nice -n 15 /bin/bash -c "
|
|||||||
exec sudo -E -u $USER env \"HOME=$HOME\" \"PATH=\$PATH\" curator build --jobs $JOBS
|
exec sudo -E -u $USER env \"HOME=$HOME\" \"PATH=\$PATH\" curator build --jobs $JOBS
|
||||||
"
|
"
|
||||||
|
|
||||||
|
if [ -n "$TEST_RUN" ];
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
# Make sure we actually need this snapshot. We used to perform this check
|
# Make sure we actually need this snapshot. We used to perform this check
|
||||||
# exclusively before building. Now we perform it after as well for the case of
|
# exclusively before building. Now we perform it after as well for the case of
|
||||||
# nightly, where we don't perform this check beforehand. This is also slightly
|
# nightly, where we don't perform this check beforehand. This is also slightly
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user