From 3d3f30e11d9dc57c9a7b88df9e098204103e54f8 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Tue, 24 Oct 2017 13:46:53 -0400 Subject: avoid stack runghc Seems to want to recompile git-annex before running unrelated program. stack ghc does not have that problem --- standalone/windows/build.sh | 6 ++++-- 1 file 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 -- cgit v1.2.3