git.iko.soy/typeable/pandoc
on master help sign in
Changes to make-windows-installer.bat.

* Exit batch file if any of the cabal-dev installs fail. * There's no longer any need to reinstall highlighting-kate. * Don't start with a 'cabal update'; leave that to the user.

commita5da6898c9f19af89be89cf5b83e1006201678d4 authorJohn MacFarlane <fiddlosopher@gmail.com> dateTue 22 Jan 2013, 19:43 (14 years ago) parent8448b8a
1 file changed+4−2
windows/make-windows-installer.bat+4−2
windows/make-windows-installer.bat+4−2
@@ -1,12 +1,14 @@
11@echo off
22cd ..
3−cabal update
3+rem cabal update
44cabal-dev clean
5−cabal-dev install --reinstall --force-reinstall highlighting-kate
65cabal-dev install --reinstall --force-reinstall --flags="embed_data_files" citeproc-hs
6+if %errorlevel% neq 0 exit /b %errorlevel%
77cabal-dev install --reinstall --force-reinstall --flags="embed_data_files"
8+if %errorlevel% neq 0 exit /b %errorlevel%
89strip cabal-dev\bin\pandoc.exe
910cabal-dev\bin\pandoc.exe -s --template data\templates\default.html -S README -o README.html
11+if %errorlevel% neq 0 exit /b %errorlevel%
1012copy COPYING COPYING.txt
1113copy COPYRIGHT COPYRIGHT.txt
1214cd windows