summaryrefslogtreecommitdiff
path: root/standalone
diff options
context:
space:
mode:
authorJoey Hess <joeyh@joeyh.name>2017-11-09 13:54:05 -0400
committerJoey Hess <joeyh@joeyh.name>2017-11-09 13:54:05 -0400
commit25854c73dbaab54ab6e903dc65b223edea6e0c5e (patch)
treedea48fc8b4adec237c5d91b677b06177e9160127 /standalone
parentf953f19e68478f42c6adedb78478ff7cb583bc43 (diff)
still need stack-windows.yaml to specify newer versions of Win32 and unix-compat
Diffstat (limited to 'standalone')
-rwxr-xr-xstandalone/windows/build.sh9
1 files changed, 5 insertions, 4 deletions
diff --git a/standalone/windows/build.sh b/standalone/windows/build.sh
index e3be18af0d..b0e6bdd4ff 100755
--- a/standalone/windows/build.sh
+++ b/standalone/windows/build.sh
@@ -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