stupid windows..
This commit is contained in:
parent
5b09b8d6bf
commit
920c81ca14
1 changed files with 7 additions and 2 deletions
|
@ -35,8 +35,13 @@ cd ..
|
||||||
|
|
||||||
cabal install --only-dependencies -f"$FLAGS"
|
cabal install --only-dependencies -f"$FLAGS"
|
||||||
|
|
||||||
if ! -e last-incremental-failed; then
|
# Detect when the last build was an incremental build and failed,
|
||||||
cabal clean
|
# 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
|
fi
|
||||||
touch last-incremental-failed
|
touch last-incremental-failed
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue