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"
|
||||
|
||||
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
|
||||
|
||||
|
|
Loading…
Reference in a new issue