summaryrefslogtreecommitdiff
path: root/windows/make-windows-installer.bat
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2015-11-13 19:04:34 -0800
committerJohn MacFarlane <jgm@berkeley.edu>2015-11-13 19:04:34 -0800
commitacbd8beb9511b3fdcd3dc9e45f9864d898b9a21e (patch)
treec0555c71d47abeba47fe97fe72ee6f6e4ac44afb /windows/make-windows-installer.bat
parentabca1da1adeae6045e555b9b43a03192a3b02e17 (diff)
make-windows-installer.bat: run tests.
Diffstat (limited to 'windows/make-windows-installer.bat')
-rw-r--r--windows/make-windows-installer.bat4
1 files changed, 3 insertions, 1 deletions
diff --git a/windows/make-windows-installer.bat b/windows/make-windows-installer.bat
index cac5d974b..1e576a525 100644
--- a/windows/make-windows-installer.bat
+++ b/windows/make-windows-installer.bat
@@ -5,7 +5,9 @@ cabal sandbox init
cabal clean
cabal install hsb2hs
if %errorlevel% neq 0 exit /b %errorlevel%
-cabal install -v1 --force --reinstall --flags="embed_data_files" . pandoc-citeproc
+cabal install -v1 --force --enable-tests --reinstall --flags="embed_data_files" . pandoc-citeproc
+if %errorlevel% neq 0 exit /b %errorlevel%
+cabal test
if %errorlevel% neq 0 exit /b %errorlevel%
strip .\.cabal-sandbox\bin\pandoc.exe
strip .\.cabal-sandbox\bin\pandoc-citeproc.exe