@@ -6,6 +6,7 @@ build: off
66before_test:
77- curl -ostack.zip -L --insecure http://www.stackage.org/stack/windows-i386
88- 7z x stack.zip stack.exe
9+- git submodule update --init # to fetch the templates
910
1011clone_folder: "c:\\stack"
1112environment:
@@ -17,3 +18,10 @@ test_script:
1718# The ugly echo "" hack is to avoid complaints about 0 being an invalid file
1819# descriptor
1920- echo "" | stack --no-terminal test
21+
22+after_test:
23+ - ps: 7z a "pandoc.zip" "$(.\\stack.exe path --local-install-root)\\bin\\pandoc*.exe"
24+
25+artifacts:
26+ - path: pandoc.zip
27+ name: exe