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.
This commit is contained in:
Simon Michael 2017-06-13 09:34:02 -07:00
parent fd74da0836
commit f633f2bbb1

View File

@ -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,\