git.iko.soy/typeable/pandoc
on master help sign in
Better way to find the artifacts on appveyor
commit92fad7be014f3d3b194528f77a3bd24d17f87cce authorJan Schulz <jasc@gmx.net> dateFri 13 May 2016, 00:43 (10 years ago) parentdd649f1
1 file changed+6−4
appveyor.yml+6−4
appveyor.yml+6−4
@@ -9,7 +9,8 @@ cache:
99 - "c:\\sr" # stack root, short paths == fewer problems
1010 - '%LOCALAPPDATA%\Programs\stack' # even less to install...
1111
12−# build: off # this disables automatic builds
12+# We don't do a normal C build, but build in test_script via stack
13+build: off
1314
1415install:
1516 - curl -ostack.zip -L --insecure http://www.stackage.org/stack/windows-i386
@@ -27,11 +28,12 @@ before_test:
2728test_script:
2829 # The ugly echo "" hack is to avoid complaints about 0 being an invalid file
2930 # descriptor
30− - echo "" | stack --no-terminal test
31+ - echo "" | stack --no-terminal test
32+ - echo "" | stack --local-bin-path . install pandoc
3133
3234after_test:
33− - ps: |
34− 7z a pandoc.zip $(.\stack.exe path --local-install-root)\bin\pandoc*.exe
35+ # .\ in the stack commandline seems to be .\windows\ (where the stack-appveyor.yaml is)
36+ - 7z a "pandoc.zip" windows\pandoc.exe"
3537
3638artifacts:
3739 - path: pandoc.zip