work around stack-work directory path bug

fatal: Invalid path '/cygdrive/c/jenkins/workspace/git-annex-master/git-annex/.stack-work/downloaded/C:\jenkins\workspace\git-annex-master\git-annex\.stack-work\downloaded\56E6vnUQljVi': No such file or directory
This commit is contained in:
Joey Hess 2017-10-25 14:49:35 -04:00
parent 833b3f06cd
commit 357a6e6709
No known key found for this signature in database
GPG key ID: DB12DB0FF05F8F38

View file

@ -60,7 +60,7 @@ getextra rsync.exe 85cb7a4d16d274fcf8069b39042965ad26abd6aa
# configure scripts for haskell libraries to link them with the cygwin
# libraries.
stack setup --stack-yaml stack-windows.yaml
stack build -j 1 --stack-yaml stack-windows.yaml --no-haddock --dependencies-only
stack build -j 1 --stack-yaml stack-windows.yaml --work-dir .stack-work --no-haddock --dependencies-only
# Build git-annex
withcyg stack build --stack-yaml stack-windows.yaml