diff options
-rwxr-xr-x | standalone/windows/build.sh | 6 | ||||
-rw-r--r-- | standalone/windows/stack.yaml | 27 |
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 |