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

14 lines
360 B
Text
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 \
;