stupid windows..

This commit is contained in:
Joey Hess 2013-05-19 21:02:50 -04:00
parent 5b09b8d6bf
commit 920c81ca14

View file

@ -35,8 +35,13 @@ cd ..
cabal install --only-dependencies -f"$FLAGS"
if ! -e last-incremental-failed; then
cabal clean
# Detect when the last build was an incremental build and failed,
# and try a full build. Done this way because this shell seems a bit
# broken.
if [ -e last-incremental-failed ]; then
cabal clean || true
# windows breakage..
rm -rf dist
fi
touch last-incremental-failed