tools: appveyor: troubleshooting stack#4125

This commit is contained in:
Simon Michael 2018-07-02 16:38:10 +01:00
parent b91f0cb539
commit 6e265446f7

View File

@ -36,14 +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
# - curl -skL -ostack.zip http://www.stackage.org/stack/windows-x86_64
# - 7z x stack.zip stack.exe
- stack --version
# temporary, troubleshooting https://github.com/commercialhaskell/stack/issues/4125
- echo %PATH%
- set PATH=C:\Users\appveyor\AppData\Roaming\local\bin;%PATH%
- stack upgrade --git
- stack --version
- copy C:\Users\appveyor\AppData\Roaming\local\bin\stack .
- echo %PATH%
#- stack upgrade --git
- copy C:\Users\appveyor\AppData\Roaming\local\bin\stack.exe .
- stack --version
#