mirror of
https://github.com/simonmichael/hledger.git
synced 2024-09-18 17:57:11 +03:00
tools: make functest: build hledger and test that, without installing
This commit is contained in:
parent
b03584dbce
commit
ebe2d52965
5
Makefile
5
Makefile
@ -670,8 +670,9 @@ builtintest: $(call def-help,builtintest, run hledgers built in test command)
|
|||||||
# 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: addons tests/addons/hledger-addon
|
#functest: addons tests/addons/hledger-addon
|
||||||
functest: tests/addons/hledger-addon \
|
functest: tests/addons/hledger-addon \
|
||||||
$(call def-help,functest, run the functional tests for hledger )
|
$(call def-help,functest, build hledger quickly and run the functional tests (and some unit tests) )
|
||||||
@($(SHELLTESTSTK) tests \
|
@stack build --fast hledger
|
||||||
|
@($(SHELLTESTSTK) -w `stack exec -- which hledger` tests \
|
||||||
&& echo $@ PASSED) || (echo $@ FAILED; false)
|
&& echo $@ PASSED) || (echo $@ FAILED; false)
|
||||||
|
|
||||||
ADDONEXTS=pl py rb sh hs lhs rkt exe com bat
|
ADDONEXTS=pl py rb sh hs lhs rkt exe com bat
|
||||||
|
Loading…
Reference in New Issue
Block a user