🐙 Templated web page generator for your git repositories
git clone https://github.com/m-col/gitja
Files | Refs | Readme | License

Commit 2dabf0478cfe0a5a9c18d31ee955dfc2ebabaf93
Parent: 7ca3544ae3822ff6cac221e7c064884cbf9fb5ab
Author: mcol <mcol@posteo.net>
Date: 2021-11-26 01:09:31 +0000
Committer: mcol <mcol@posteo.net>
Committed: 2021-11-26 01:09:31 +0000

Exit tests early if stack fails

test/test.sh Modified

@@ -37,7 +37,7 @@
 )
 
 rm -rf "$RESULT"
-stack run -- -c test/config.dhall -q
+stack run -- -c test/config.dhall -q || exit 1
 
 for test in "${TESTS[@]}"
 do