summaryrefslogtreecommitdiff
path: root/standalone
diff options
context:
space:
mode:
authorGravatar Joey Hess <joeyh@joeyh.name>2017-11-09 13:54:05 -0400
committerGravatar Joey Hess <joeyh@joeyh.name>2017-11-09 13:54:05 -0400
commitca46676292158d524d0525df6c0fdf2742b43aa6 (patch)
treef90549bc877f758d931ba05f0bb912bc68cbbb2a /standalone
parentc79738263e1e1da9ac7b345a6e2aa9b0569165fd (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 e3be18af0..b0e6bdd4f 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