@@ -0,0 +1,42 @@
6+function init-sandbox() {
11+ if [[ "${GHCVER}" > "7.4.2" ]] ; then
12+ cabal install --enable-tests --only-dependencies --force-reinstalls
14+ echo "Skipping tests on ${GHCVER}"
15+ cabal install --only-dependencies --force-reinstalls
24+function rebuild-including-deps() {
25+ rm -rf .cabal-sandbox
26+ rm -rf cabal.sandbox.config
34+if [[ ! -f cabal.sandbox.config ]] ; then
38+build || rebuild || rebuild-including-deps
40+if [[ "${GHCVER}" > "7.4.2" ]] ; then