@@ -20,21 +20,21 @@ build_script:
21 cabal install --force --enable-tests -fembed_data_files
21 cabal install --force --enable-tests -fembed_data_files
23−after_build:
23+# after_build:
25− cabal install -fembed_data_files pandoc-citeproc
25+# cabal install -fembed_data_files pandoc-citeproc
26− strip .\.cabal-sandbox\bin\pandoc.exe
26+# strip .\.cabal-sandbox\bin\pandoc.exe
27− strip .\.cabal-sandbox\bin\pandoc-citeproc.exe
27+# strip .\.cabal-sandbox\bin\pandoc-citeproc.exe
28− .\.cabal-sandbox\bin\pandoc.exe -s --template data\templates\default.html -S README -o README.html
28+# .\.cabal-sandbox\bin\pandoc.exe -s --template data\templates\default.html -S README -o README.html
29− .\.cabal-sandbox\bin\pandoc.exe -s --template data\templates\default.rtf COPYING -t rtf -S -o COPYING.rtf
29+# .\.cabal-sandbox\bin\pandoc.exe -s --template data\templates\default.rtf COPYING -t rtf -S -o COPYING.rtf
30− copy COPYRIGHT COPYRIGHT.txt
30+# copy COPYRIGHT COPYRIGHT.txt
31− for /f "tokens=2 delims= " %%a in ('.\.cabal-sandbox\bin\pandoc --version') do ( set "VERSION=%%a" && exit )
31+# for /f "tokens=2 delims= " %%a in ('.\.cabal-sandbox\bin\pandoc --version') do ( set "VERSION=%%a" && exit )
32− if "%VERSION%" == "" ( echo "Error: could not determine version number." && exit /b 1 )
32+# if "%VERSION%" == "" ( echo "Error: could not determine version number." && exit /b 1 )
33− cd windows
33+# cd windows
34− echo Creating msi...
34+# echo Creating msi...
35− candle -dVERSION=%VERSION% pandoc.wxs
35+# candle -dVERSION=%VERSION% pandoc.wxs
36− if %errorlevel% neq 0 exit /b %errorlevel%
36+# if %errorlevel% neq 0 exit /b %errorlevel%
37− light -sw1076 -ext WixUIExtension -ext WixUtilExtension -out pandoc-%VERSION%-windows.msi pandoc.wixobj
37+# light -sw1076 -ext WixUIExtension -ext WixUtilExtension -out pandoc-%VERSION%-windows.msi pandoc.wixobj
39test_script:
39test_script: