build for windows with forked win32 package that has terminateProcessId
Get ugly reversion out of CHANGELOG. Also, relocated the windows stack.yaml to top, and updated windows build instructions. This commit was sponsored by Henrik Riomar on Patreon.
This commit is contained in:
parent
9f2b7dfc3e
commit
833b3f06cd
9 changed files with 22 additions and 38 deletions
|
@ -59,21 +59,20 @@ getextra rsync.exe 85cb7a4d16d274fcf8069b39042965ad26abd6aa
|
|||
# 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
|
||||
stack setup --stack-yaml stack-windows.yaml
|
||||
stack build -j 1 --stack-yaml stack-windows.yaml --no-haddock --dependencies-only
|
||||
|
||||
# Build git-annex
|
||||
withcyg stack build --stack-yaml standalone/windows/stack.yaml
|
||||
withcyg stack build --stack-yaml stack-windows.yaml
|
||||
|
||||
# Build the installer
|
||||
withcygpreferred stack ghc --stack-yaml standalone/windows/stack.yaml --no-haddock \
|
||||
withcygpreferred stack ghc --stack-yaml stack-windows.yaml --no-haddock \
|
||||
--package nsis Build/NullSoftInstaller.hs
|
||||
./Build/NullSoftInstaller
|
||||
|
||||
rm -f dist/build-version
|
||||
mkdir -p dist
|
||||
stack ghc --stack-yaml standalone/windows/stack.yaml --no-haddock \
|
||||
Build/BuildVersion.hs
|
||||
stack ghc --stack-yaml stack-windows.yaml --no-haddock Build/BuildVersion.hs
|
||||
./Build/BuildVersion > dist/build-version
|
||||
|
||||
# Test git-annex
|
||||
|
|
|
@ -1,26 +0,0 @@
|
|||
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
|
||||
explicit-setup-deps:
|
||||
git-annex: true
|
||||
resolver: lts-9.10
|
Loading…
Add table
Add a link
Reference in a new issue