summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Joey Hess <joeyh@joeyh.name>2017-10-24 13:46:53 -0400
committerGravatar Joey Hess <joeyh@joeyh.name>2017-10-24 13:46:53 -0400
commit3d3f30e11d9dc57c9a7b88df9e098204103e54f8 (patch)
treeceec36c45238d1929bce7ab7e82f73ee3087e65c
parent9f783233168207b6c59ca534ee4d2e460879f566 (diff)
avoid stack runghc
Seems to want to recompile git-annex before running unrelated program. stack ghc does not have that problem
-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