From addd9b53856d665949e90370093cb69c4744b1f4 Mon Sep 17 00:00:00 2001 From: Simon Michael Date: Sun, 25 Mar 2018 13:09:56 +0100 Subject: [PATCH] tools: make build-check-warnings, notes --- Makefile | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Makefile b/Makefile index b89ac8b22..13219b09a 100644 --- a/Makefile +++ b/Makefile @@ -282,6 +282,11 @@ build: \ $(call def-help,build, download dependencies and build hledger executables (with stack)) $(STACK) build +# XXX currently always fails on hledger nonportable include path warning https://github.com/commercialhaskell/stack/issues/3918 +build-check-warnings: \ + $(call def-help,build-check-warnings, repeatedly build all hledger executables quickly ensuring no warnings) + stack build --fast --force-dirty --ghc-options=-fforce-recomp --ghc-options=-Werror --file-watch + addons: \ $(call def-help,addons, compile the experimental add-on commands, required for functional tests ) bin/compile.sh