aboutsummaryrefslogtreecommitdiff
path: root/standalone
diff options
context:
space:
mode:
authorGravatar Joey Hess <joeyh@joeyh.name>2017-10-22 13:58:21 -0400
committerGravatar Joey Hess <joeyh@joeyh.name>2017-10-22 13:58:21 -0400
commitbdf9f43105bab21b839a2678f1811d70cf5372da (patch)
treede23d05cc79de285acd1c11b5454a974e19b1923 /standalone
parent71df4b1411cd2295aa26190632e9d64a2c15416c (diff)
windows-specific stack.yaml to enable Win32
Diffstat (limited to 'standalone')
-rwxr-xr-xstandalone/windows/build.sh6
-rw-r--r--standalone/windows/stack.yaml27
2 files changed, 30 insertions, 3 deletions
diff --git a/standalone/windows/build.sh b/standalone/windows/build.sh
index c3cb94381..3b3e299ac 100755
--- a/standalone/windows/build.sh
+++ b/standalone/windows/build.sh
@@ -38,11 +38,11 @@ export UPGRADE_LOCATION
# 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 build --dependencies-only
+stack setup --stack-yaml standalone/windows/stack.yaml
+stack build --stack-yaml standalone/windows/stack.yaml --dependencies-only
# Build git-annex
-withcyg stack build
+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/.
diff --git a/standalone/windows/stack.yaml b/standalone/windows/stack.yaml
new file mode 100644
index 000000000..b54acb0d4
--- /dev/null
+++ b/standalone/windows/stack.yaml
@@ -0,0 +1,27 @@
+flags:
+ git-annex:
+ concurrentoutput: true
+ production: true
+ assistant: true
+ pairing: true
+ network-uri: true
+ s3: true
+ testsuite: true
+ webdav: true
+ torrentparser: true
+ webapp: true
+ magicmime: false
+ dbus: false
+ android: false
+ androidsplice: false
+packages:
+- '.'
+extra-deps:
+- aws-0.17.1
+- bloomfilter-2.0.1.0
+- torrent-10000.1.1
+- yesod-default-1.2.0
+- Win32-2.6.0.0
+explicit-setup-deps:
+ git-annex: true
+resolver: lts-9.9