tools: make ghcid-test-TESTPATTERN: run only some tests via ghcid

This commit is contained in:
Simon Michael 2018-08-17 09:37:09 +01:00
parent 1d775a7a9c
commit e79c58882a

View File

@ -565,6 +565,9 @@ ghcid-api: $(call def-help,ghcid-api, start ghcid autobuilder on hledger-lib + h
ghcid-test: $(call def-help,ghcid-test, start ghcid autobuilding and running the test command)
ghcid -c 'make ghci' --test ':main test'
ghcid-test-%: $(call def-help,ghcid-test-TESTPATTERN, start ghcid autobuilding and running the test command with the given TESTPATTERN)
ghcid -c 'make ghci' --test ':main test $*'
ghcid-doctest: $(call def-help,ghcid-doctest, start ghcid autobuilding and running hledger-lib doctests)
ghcid -c 'cd hledger-lib; $(STACK) ghci hledger-lib:test:doctests' --test ':main' --reload hledger-lib