summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Joey Hess <joeyh@joeyh.name>2017-10-24 13:30:51 -0400
committerGravatar Joey Hess <joeyh@joeyh.name>2017-10-24 13:30:51 -0400
commit4f39b8d5ca611b13934b60db27dca6d2ac2e3c70 (patch)
tree522319abc470b99a0201228e8e3b41ceeb5c68e0
parent966d7ff3202b5fea32db9d94ad8eafaf9bedeb3e (diff)
use windows stack.yaml for additional stack commands
-rwxr-xr-xstandalone/windows/build.sh6
1 files changed, 4 insertions, 2 deletions
diff --git a/standalone/windows/build.sh b/standalone/windows/build.sh
index 62323b97d..fb3fef479 100755
--- a/standalone/windows/build.sh
+++ b/standalone/windows/build.sh
@@ -68,10 +68,12 @@ stack build -j 1 --stack-yaml standalone/windows/stack.yaml --no-haddock --depen
withcyg stack build --stack-yaml standalone/windows/stack.yaml
# Build the installer
-withcygpreferred stack runghc --package nsis Build/NullSoftInstaller.hs
+withcygpreferred stack runghc --stack-yaml standalone/windows/stack.yaml \
+ --package nsis Build/NullSoftInstaller.hs
rm -f dist/build-version
-stack runghc Build/BuildVersion.hs > dist/build-version
+stack runghc --stack-yaml standalone/windows/stack.yaml \
+ Build/BuildVersion.hs > dist/build-version
# Test git-annex
# The test is run in c:/WINDOWS/Temp, because running it in the autobuilder