work aroud ongong transformers-compat cabal issue

This commit is contained in:
Joey Hess 2014-08-13 13:02:35 -04:00
parent 77d55672a9
commit 75b69dca58

View file

@ -7,7 +7,7 @@ set -x
set -e
# Path to the Haskell Platform.
#HP="/c/haskell/2014.2.0.0"
#HP="/c/haskell/2014.2.0.0" # now in the default PATH
PATH="/c/Program Files (x86)/NSIS:/c/msysgit/cmd:$PATH"
@ -35,6 +35,10 @@ rm -f git-annex-installer.exe
# for haskell libraries to link them with the cygwin library.
cabal update || true
cabal transformers-compat -fthree
cabal install mtl-2.1.3.1
cabal install DAV-1.0
cabal install --only-dependencies || true
# Detect when the last build was an incremental build and failed,
@ -64,11 +68,12 @@ withcygpreferred Build/NullSoftInstaller.exe
rm -f last-incremental-failed
# Test git-annex
# (doesn't currently work well on autobuilder, reason unknown)
rm -rf .t
withcyg dist/build/git-annex/git-annex.exe test || true
rm -f dist/build-version
ghc --make Build/BuildVersion.hs
Build/BuildVersion > dist/build-version
# Test git-annex
# (doesn't currently work well on autobuilder, reason unknown)
rm -rf .t
PATH=dist/build/git-annex/:$PATH
withcyg dist/build/git-annex/git-annex.exe test || true