appveyor.yml: removed part that builds the package.

This commit is contained in:
John MacFarlane 2015-09-27 23:01:56 -07:00
parent 06b761be5b
commit eb27ef89bc

View file

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