mirror of
https://github.com/simonmichael/hledger.git
synced 2024-12-27 12:24:43 +03:00
tools: make ghcid-test-TESTPATTERN: run only some tests via ghcid
This commit is contained in:
parent
1d775a7a9c
commit
e79c58882a
3
Makefile
3
Makefile
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user