1clone_folder: "c:\\pandoc"
4 WIXBIN: "c:\\Program Files (x86)\\WiX Toolset v3.11\\bin"
5 STACK_YAML: "c:\\pandoc\\stack.pkg.yaml"
7 - STACK_VERSION: "windows-i386"
9 STACK: "%STACK_ROOT%\\stack.exe"
10# - STACK_VERSION: "windows-x86_64"
11# STACK_ROOT: "c:\\sr64"
12# STACK: "%STACK_ROOT%\\stack.exe"
20 # This is where stack install ghc by default, but we don't
21 # cache it because it's too large:
22 # - "c:\\Users\\appveyor\\AppData\\Local\\Programs\\stack"
24# Note: to reset build cache, do the following in JavaScript
27# url: 'https://ci.appveyor.com/api/projects/jgm/pandoc/buildcache',
30# We don't do a normal C build, but build in test_script via stack
34 - '"%WIXBIN%"\candle -? || choco install wixtoolset'
36 %STACK% --version || curl -ostack.zip -L --insecure http://www.stackage.org/stack/%STACK_VERSION% && 7z e stack.zip -o"%STACK_ROOT%" stack.exe
41 # The ugly echo "" hack is to avoid complaints about 0 being an invalid file
46 echo "" | %STACK% clean
47 echo "" | %STACK% -j1 --no-terminal --test --local-bin-path=.\windows install pandoc pandoc-citeproc
50 # .\ in the stack commandline seems to be .\windows\ (where the stack-appveyor.yaml is)
52 - .\pandoc.exe -s --toc ..\MANUAL.txt -o MANUAL.html
53 - .\pandoc.exe -s ..\COPYING.md -o COPYING.rtf
54 - copy ..\COPYRIGHT COPYRIGHT.txt
55 - 7z a "pandoc-%STACK_VERSION%.zip" pandoc.exe pandoc-citeproc.exe MANUAL.html COPYING.rtf
58 for /f "tokens=1-2 delims= " %%a in ('.\pandoc.exe --version') do ( if not defined VERSION set "VERSION=%%b" )
60 "%WIXBIN%\\candle" -dVERSION=%VERSION% -dBINPATH=. *.wxs -out wixobj\
61 "%WIXBIN%\\light" -sw1076 -ext WixUIExtension -ext WixUtilExtension -cultures:en-us -loc Pandoc-en-us.wxl -out "pandoc-%STACK_VERSION%.msi" wixobj\*.wixobj
64 - path: 'windows\pandoc-%STACK_VERSION%.zip'
66 - path: 'windows\pandoc-%STACK_VERSION%.msi'
keysesc to close
- j k
- move down, up
- enter
- open
- esc
- back, or up a level
- 1 2 3 4
- readme, files, commits, refs
- /
- filter
- y
- copy the clone command
- c
- compare the chosen commit with another (or shift-click both)
- ?
- show or hide this list