summaryrefslogtreecommitdiff
path: root/standalone/windows/build.sh
diff options
context:
space:
mode:
Diffstat (limited to 'standalone/windows/build.sh')
-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 73dd27908..12cfad9b4 100755
--- a/standalone/windows/build.sh
+++ b/standalone/windows/build.sh
@@ -68,12 +68,14 @@ 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 --stack-yaml standalone/windows/stack.yaml --no-haddock \
+withcygpreferred stack ghc --stack-yaml standalone/windows/stack.yaml --no-haddock \
--package nsis Build/NullSoftInstaller.hs
+./Build/NullSoftInstaller
rm -f dist/build-version
-stack runghc --stack-yaml standalone/windows/stack.yaml --no-haddock \
+stack ghc --stack-yaml standalone/windows/stack.yaml --no-haddock \
Build/BuildVersion.hs > dist/build-version
+./Build/BuildVersion
# Test git-annex
# The test is run in c:/WINDOWS/Temp, because running it in the autobuilder