arion/live-unit-tests

15 lines
360 B
Text
Raw Normal View History

2019-06-14 16:10:37 +02:00
#!/usr/bin/env nix-shell
#!nix-shell ./shell.nix
#!nix-shell -i bash
set -eux -o pipefail
cd "$(dirname "${BASH_SOURCE[0]}")"
ghcid \
2019-07-29 13:46:49 +02:00
--command 'cabal v2-repl arion-compose:arion-unit-tests --flags ghci --write-ghc-environment-files=never' \
2019-06-14 16:10:37 +02:00
--test=Main.main \
2019-06-15 12:35:48 +02:00
--reload=src/haskell \
2019-06-14 16:10:37 +02:00
--restart=hercules-ci-api.cabal \
--restart=../stack.yaml \
;