mirror of
https://github.com/simonmichael/hledger.git
synced 2024-09-18 17:57:11 +03:00
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:
parent
fd74da0836
commit
f633f2bbb1
8
Makefile
8
Makefile
@ -620,11 +620,17 @@ builtintest: \
|
|||||||
# && echo $@ PASSED) || echo $@ FAILED
|
# && echo $@ PASSED) || echo $@ FAILED
|
||||||
|
|
||||||
# assumes hledger is built and uses whatever build is there, avoiding excessive rebuilding
|
# 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 )
|
$(call def-help,functest, run the functional tests for hledger )
|
||||||
@($(SHELLTESTSTK) tests \
|
@($(SHELLTESTSTK) tests \
|
||||||
&& echo $@ PASSED) || (echo $@ FAILED; false)
|
&& 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
|
ADDONEXTS=pl py rb sh hs lhs rkt exe com bat
|
||||||
tests/addons/hledger-addon: \
|
tests/addons/hledger-addon: \
|
||||||
$(call def-help,tests/addons/hledger-addon,\
|
$(call def-help,tests/addons/hledger-addon,\
|
||||||
|
Loading…
Reference in New Issue
Block a user