tools: appveyor: troubleshooting stack#4125

This commit is contained in:
Simon Michael 2018-07-04 18:53:29 +01:00
parent 2781ece2d2
commit 1bf3298842

View File

@ -36,13 +36,15 @@ cache:
- hledger-web\.stack-work -> hledger-web\**
install:
- curl -skL -ostack.zip http://www.stackage.org/stack/windows-x86_64
- 7z x stack.zip stack.exe
# temporary, troubleshooting https://github.com/commercialhaskell/stack/issues/4125
- move stack.exe stack-release.exe
- stack-release --version
# - curl -skL -ostack.zip http://www.stackage.org/stack/windows-x86_64
# - 7z x stack.zip stack.exe
#- move stack.exe stack-release.exe
#- stack-release --version
- set PATH=C:\Users\appveyor\AppData\Roaming\local\bin;%PATH%
- stack-release upgrade --git--branch 4125-cabal-style-build-tools
- copy C:\Users\appveyor\AppData\Roaming\local\bin\stack.exe stack-git.exe
- stack --version
- stack-git upgrade --git--branch 4125-cabal-style-build-tools
- copy C:\Users\appveyor\AppData\Roaming\local\bin\stack.exe .
- stack --version