windows-specific stack.yaml to enable Win32
This commit is contained in:
parent
7391c49305
commit
84a517dbcb
2 changed files with 30 additions and 3 deletions
|
@ -38,11 +38,11 @@ export UPGRADE_LOCATION
|
||||||
# Deps are not built with cygwin environment, because we don't want
|
# Deps are not built with cygwin environment, because we don't want
|
||||||
# configure scripts for haskell libraries to link them with the cygwin
|
# configure scripts for haskell libraries to link them with the cygwin
|
||||||
# libraries.
|
# libraries.
|
||||||
stack setup
|
stack setup --stack-yaml standalone/windows/stack.yaml
|
||||||
stack build --dependencies-only
|
stack build --stack-yaml standalone/windows/stack.yaml --dependencies-only
|
||||||
|
|
||||||
# Build git-annex
|
# Build git-annex
|
||||||
withcyg stack build
|
withcyg stack build --stack-yaml standalone/windows/stack.yaml
|
||||||
|
|
||||||
# Get extra programs to bundle with git-annex.
|
# Get extra programs to bundle with git-annex.
|
||||||
# These are msys2 programs, from https://msys2.github.io/.
|
# These are msys2 programs, from https://msys2.github.io/.
|
||||||
|
|
27
standalone/windows/stack.yaml
Normal file
27
standalone/windows/stack.yaml
Normal file
|
@ -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
|
Loading…
Add table
Add a link
Reference in a new issue