From f633f2bbb195be0fdf633dda6a61dcf23b282096 Mon Sep 17 00:00:00 2001 From: Simon Michael Date: Tue, 13 Jun 2017 09:34:02 -0700 Subject: [PATCH] tools: make addons (& make functest) compiles the add-ons bin/compile.sh remains in place for discoverability. Let's see if this causes a Travis meltdown. --- Makefile | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index fffcb4680..155431523 100644 --- a/Makefile +++ b/Makefile @@ -620,11 +620,17 @@ builtintest: \ # && echo $@ PASSED) || echo $@ FAILED # assumes hledger is built and uses whatever build is there, avoiding excessive rebuilding -functest: tests/addons/hledger-addon \ +functest: addons tests/addons/hledger-addon \ $(call def-help,functest, run the functional tests for hledger ) @($(SHELLTESTSTK) tests \ && echo $@ PASSED) || (echo $@ FAILED; false) +addons: \ + $(call def-help,addons,\ + compile the experimental add-on commands, required for functional tests \ + ) + bin/compile.sh + ADDONEXTS=pl py rb sh hs lhs rkt exe com bat tests/addons/hledger-addon: \ $(call def-help,tests/addons/hledger-addon,\