aboutsummaryrefslogtreecommitdiff
path: root/standalone
diff options
context:
space:
mode:
authorGravatar Joey Hess <joeyh@joeyh.name>2017-10-22 15:22:24 -0400
committerGravatar Joey Hess <joeyh@joeyh.name>2017-10-22 15:22:24 -0400
commit7efc961d56a042a40ddc93b555615fd3998d08f0 (patch)
treeb2b1a0b512ff071be0b802e4fba84073f6e71da3 /standalone
parenta11e7dd314b724168033a2f4a22a194c5156009a (diff)
get rsync before build
Diffstat (limited to 'standalone')
-rwxr-xr-xstandalone/windows/build.sh18
1 files changed, 9 insertions, 9 deletions
diff --git a/standalone/windows/build.sh b/standalone/windows/build.sh
index 343b5dfbe..e1e4af49b 100755
--- a/standalone/windows/build.sh
+++ b/standalone/windows/build.sh
@@ -35,15 +35,6 @@ export UPGRADE_LOCATION
# if we fail.
#withcyg rm -f git-annex-installer.exe
-# Deps are not built with cygwin environment, because we don't want
-# configure scripts for haskell libraries to link them with the cygwin
-# libraries.
-stack setup --stack-yaml standalone/windows/stack.yaml
-stack build -j 1 --stack-yaml standalone/windows/stack.yaml --no-haddock --dependencies-only
-
-# Build git-annex
-withcyg stack build --stack-yaml standalone/windows/stack.yaml
-
# Get extra programs to bundle with git-annex.
# These are msys2 programs, from https://msys2.github.io/.
# Since git for windows uses msys2, and includes its libraries,
@@ -67,6 +58,15 @@ getextra () {
getextra rsync.exe 85cb7a4d16d274fcf8069b39042965ad26abd6aa
getextra wget.exe 044380729200d5762965b10123a4f134806b01cf
+# Deps are not built with cygwin environment, because we don't want
+# configure scripts for haskell libraries to link them with the cygwin
+# libraries.
+stack setup --stack-yaml standalone/windows/stack.yaml
+stack build -j 1 --stack-yaml standalone/windows/stack.yaml --no-haddock --dependencies-only
+
+# Build git-annex
+withcyg stack build --stack-yaml standalone/windows/stack.yaml
+
# Build the installer
withcygpreferred stack runghc --package nsis Build/NullSoftInstaller.hs