From b31c3d76782ceae8a2b47ec91e7bf1c1f84ee338 Mon Sep 17 00:00:00 2001 From: Simon Michael Date: Sun, 4 Mar 2018 12:33:58 -0800 Subject: [PATCH] tools: make easytest[-watch] [ci skip] --- Makefile | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Makefile b/Makefile index 007bbde8e..32e5f649a 100644 --- a/Makefile +++ b/Makefile @@ -568,6 +568,12 @@ $(call def-help-subheading,TESTING:) test: pkgtest functest \ $(call def-help,test, run default tests ) +easytest: $(call def-help,easytest, run unit tests defined with easytest) + stack runghc tools/easytest.hs + +easytest-watch: $(call def-help,easytest-watch, repeatedly run unit tests defined with easytest) + tools/easytest.hs + travistest: $(call def-help,travistest, run tests similar to the most thorough travis tests) stack clean stack build --ghc-options=-Werror --test --haddock --no-haddock-deps hledger-lib