2010-01-17 01:37:44 +01:00
|
|
|
@echo off
|
|
|
|
cd ..
|
2013-01-23 04:43:32 +01:00
|
|
|
rem cabal update
|
2012-10-16 06:26:24 +02:00
|
|
|
cabal-dev clean
|
2013-01-21 04:36:44 +01:00
|
|
|
cabal-dev install --reinstall --force-reinstall --flags="embed_data_files" citeproc-hs
|
2013-01-23 04:43:32 +01:00
|
|
|
if %errorlevel% neq 0 exit /b %errorlevel%
|
2013-01-22 17:16:40 +01:00
|
|
|
cabal-dev install --reinstall --force-reinstall --flags="embed_data_files"
|
2013-01-23 04:43:32 +01:00
|
|
|
if %errorlevel% neq 0 exit /b %errorlevel%
|
2011-10-24 09:05:08 +02:00
|
|
|
strip cabal-dev\bin\pandoc.exe
|
2012-12-30 03:51:41 +01:00
|
|
|
cabal-dev\bin\pandoc.exe -s --template data\templates\default.html -S README -o README.html
|
2013-01-23 04:43:32 +01:00
|
|
|
if %errorlevel% neq 0 exit /b %errorlevel%
|
2013-02-10 08:19:55 +01:00
|
|
|
cabal-dev\bin\pandoc.exe -s --template data\templates\default.rtf COPYING -t rtf -S -o COPYING.rtf
|
|
|
|
if %errorlevel% neq 0 exit /b %errorlevel%
|
2010-01-17 01:37:44 +01:00
|
|
|
copy COPYRIGHT COPYRIGHT.txt
|
|
|
|
cd windows
|
2013-02-10 08:01:21 +01:00
|
|
|
echo Creating msi...
|
2013-02-10 20:45:43 +01:00
|
|
|
"C:\Program Files\WiX Toolset v3.7\bin\candle.exe" -ext WixUIExtension pandoc.wxs
|
2013-02-10 08:01:21 +01:00
|
|
|
if %errorlevel% neq 0 exit /b %errorlevel%
|
2013-02-10 20:45:43 +01:00
|
|
|
"C:\Program Files\WiX Toolset v3.7\bin\light.exe" -ext WixUIExtension pandoc.wixobj
|
2013-02-10 08:01:21 +01:00
|
|
|
if %errorlevel% neq 0 exit /b %errorlevel%
|
|
|
|
"C:\Program Files\kSign\kSign.exe"
|