From 312bf2fcb59c7cb7320b0266a94347a4888556ec Mon Sep 17 00:00:00 2001 From: Simon Michael Date: Fri, 8 Jun 2018 06:01:36 -0700 Subject: [PATCH] tools: make ghcid-test: ghcid plus the test command [ci skip] --- Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index a3fa02be8..eb573fbf1 100644 --- a/Makefile +++ b/Makefile @@ -566,7 +566,10 @@ ghcid-web: $(call def-help,ghcid-web, start ghcid autobuilder on hledger-lib + h ghcid-api: $(call def-help,ghcid-api, start ghcid autobuilder on hledger-lib + hledger + hledger-api) ghcid -c 'make ghci-api' -ghcid-doctest: $(call def-help,ghcid-lib-doctest, start ghcid autobuilder on hledger-lib doctests) +ghcid-test: $(call def-help,ghcid-test, start ghcid autobuilding and running the test command) + 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 ghcid-shake: $(call def-help,ghcid-shake, start ghcid autobuilder on Shake.hs)