Update to use curl to fetch the initial script
[packages/filepath.git] / appveyor.yml
1 cache:
2 - "c:\\sr -> appveyor.yml" # stack root, short paths == less problems
3
4 build: off
5
6 before_test:
7 - set PATH=C:\Program Files\Git\mingw64\bin;%PATH% # for curl
8 - curl -ostack.zip -L --insecure http://www.stackage.org/stack/windows-i386
9 - 7z x stack.zip stack.exe
10
11 clone_folder: "c:\\project"
12 environment:
13   global:
14     STACK_ROOT: "c:\\sr"
15
16 test_script:
17 - stack init
18 - stack setup > nul
19 - echo "" | stack --no-terminal build
20 - stack runghc Generate.hs