Updated windows installer batch file.

This commit is contained in:
John MacFarlane 2013-09-14 16:06:54 -07:00
parent 08b67f7730
commit e3775528dd

View file

@ -2,12 +2,15 @@
cd ..
cabal update
cabal-dev clean
cabal install hsb2hs cabal-dev
if %errorlevel% neq 0 exit /b %errorlevel%
cabal-dev install hsb2hs
cabal-dev install --only-dependencies --force --reinstall --flags="embed_data_files"
cabal-dev install --reinstall --flags="embed_data_files"
cabal-dev install -v1 --reinstall --flags="embed_data_files" pandoc-citeproc
if %errorlevel% neq 0 exit /b %errorlevel%
cabal-dev install -v1 --reinstall --flags="embed_data_files"
if %errorlevel% neq 0 exit /b %errorlevel%
strip cabal-dev\bin\pandoc.exe
strip cabal-dev\bin\pandoc-citeproc.exe
strip cabal-dev\bin\biblio2yaml.exe
cabal-dev\bin\pandoc.exe -s --template data\templates\default.html -S README -o README.html
if %errorlevel% neq 0 exit /b %errorlevel%
cabal-dev\bin\pandoc.exe -s --template data\templates\default.rtf COPYING -t rtf -S -o COPYING.rtf