mirror of
https://github.com/commercialhaskell/stackage.git
synced 2026-02-03 18:10:26 +01:00
Support NOPLAN=2
This commit is contained in:
parent
ba347bb39a
commit
5057346ca6
@ -98,16 +98,17 @@ fi
|
|||||||
#
|
#
|
||||||
# * Update the package index (unless LTS)
|
# * Update the package index (unless LTS)
|
||||||
# * Create a new plan
|
# * Create a new plan
|
||||||
if [ "${NOPLAN:-}x" = "x" ]
|
if [ "${NOPLAN:-}x" = "1x" ]
|
||||||
then
|
then
|
||||||
if [ $SHORTNAME = "lts" ]
|
|
||||||
then
|
|
||||||
docker run $ARGS_PREBUILD $IMAGE /bin/bash -c "curator constraints --target $TARGET && curator snapshot-incomplete --target $TARGET && curator snapshot"
|
|
||||||
else
|
|
||||||
docker run $ARGS_PREBUILD $IMAGE /bin/bash -c "curator update && curator constraints --target $TARGET && curator snapshot-incomplete --target $TARGET && curator snapshot"
|
|
||||||
fi
|
|
||||||
else
|
|
||||||
docker run $ARGS_PREBUILD $IMAGE /bin/bash -c "curator snapshot-incomplete --target $TARGET && curator snapshot"
|
docker run $ARGS_PREBUILD $IMAGE /bin/bash -c "curator snapshot-incomplete --target $TARGET && curator snapshot"
|
||||||
|
elif [ "${NOPLAN:-}x" = "2x" ]
|
||||||
|
then
|
||||||
|
docker run $ARGS_PREBUILD $IMAGE /bin/bash -c "curator snapshot-incomplete --target $TARGET && curator snapshot"
|
||||||
|
elif [ $SHORTNAME = "lts" ]
|
||||||
|
then
|
||||||
|
docker run $ARGS_PREBUILD $IMAGE /bin/bash -c "curator constraints --target $TARGET && curator snapshot-incomplete --target $TARGET && curator snapshot"
|
||||||
|
else
|
||||||
|
docker run $ARGS_PREBUILD $IMAGE /bin/bash -c "curator update && curator constraints --target $TARGET && curator snapshot-incomplete --target $TARGET && curator snapshot"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user