arion/live-unit-tests
2019-07-29 13:46:49 +02:00

15 lines
360 B
Plaintext
Executable File

#!/usr/bin/env nix-shell
#!nix-shell ./shell.nix
#!nix-shell -i bash
set -eux -o pipefail
cd "$(dirname "${BASH_SOURCE[0]}")"
ghcid \
--command 'cabal v2-repl arion-compose:arion-unit-tests --flags ghci --write-ghc-environment-files=never' \
--test=Main.main \
--reload=src/haskell \
--restart=hercules-ci-api.cabal \
--restart=../stack.yaml \
;