still need stack-windows.yaml to specify newer versions of Win32 and unix-compat

This commit is contained in:
Joey Hess 2017-11-09 13:54:05 -04:00
parent f953f19e68
commit 25854c73db
No known key found for this signature in database
GPG key ID: DB12DB0FF05F8F38
5 changed files with 38 additions and 8 deletions

View file

@ -64,16 +64,17 @@ getextra rsync.exe 85cb7a4d16d274fcf8069b39042965ad26abd6aa
stack --version
# Build git-annex
stack setup
stack install -j 1 --no-haddock --local-bin-path .
stack setup --stack-yaml stack-windows.yaml
stack install -j 1 --stack-yaml stack-windows.yaml --no-haddock \
--local-bin-path .
# Build the installer
withcygpreferred stack ghc --no-haddock \
withcygpreferred stack ghc --stack-yaml stack-windows.yaml --no-haddock \
--package nsis Build/NullSoftInstaller.hs
./Build/NullSoftInstaller
mkdir -p dist
stack ghc --no-haddock Build/BuildVersion.hs
stack ghc --stack-yaml stack-windows.yaml --no-haddock Build/BuildVersion.hs
./Build/BuildVersion > dist/build-version
# Test git-annex