arion/live-unit-tests
2019-06-15 15:54:48 +02:00

14 lines
355 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 'ghci -isrc/haskell/exe -isrc/haskell/lib -isrc/haskell/test src/haskell/test/TestMain.hs' \
--test=Main.main \
--reload=src/haskell \
--restart=hercules-ci-api.cabal \
--restart=../stack.yaml \
;