From 0bfe590fd76231ace1cfed90f57fb47011484d02 Mon Sep 17 00:00:00 2001 From: Simon Michael Date: Mon, 11 Sep 2017 18:34:26 -0700 Subject: [PATCH] tools: make stackagetest: also check for haddock errors --- Makefile | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 764930c21..fb57a28eb 100644 --- a/Makefile +++ b/Makefile @@ -569,8 +569,7 @@ $(call def-help-subheading,TESTING:) test: pkgtest functest \ $(call def-help,test, run default tests ) -travistest: \ - $(call def-help,travistest, run tests similar to the most thorough travis tests) +travistest: $(call def-help,travistest, run tests similar to the most thorough travis tests) stack build --ghc-options=-Werror --test --haddock --no-haddock-deps hledger-lib stack build --ghc-options=-Werror --test --haddock --no-haddock-deps hledger stack build --ghc-options=-Werror --test --haddock --no-haddock-deps hledger-ui @@ -728,7 +727,7 @@ stacktest: $(call def-help,stacktest, try a build/test/bench with each stack con test-stack%yaml: stack --stack-yaml stack$*yaml clean - stack --stack-yaml stack$*yaml --install-ghc build --test --bench + stack --stack-yaml stack$*yaml --install-ghc build --test --bench --haddock --no-haddock-deps BENCHEXES=hledger-0.27,hledger