tools: functest now builds hledger if needed

This commit is contained in:
Simon Michael 2015-10-13 11:43:30 -07:00
parent b3f5b7e7ca
commit 7817cf9688

View File

@ -604,9 +604,9 @@ builtintest: \
# @(run$(GHC) $(MAIN) test \
# && echo $@ PASSED) || echo $@ FAILED
# NB ensure hledger executable is current (eg do pkgtest first)
functest: tests/addons/hledger-addon \
$(call def-help,functest, run hledger functional tests with the stack build )
$(call def-help,functest, run the functional tests for hledger )
@stack build hledger
@(COLUMNS=80 $(SHELLTESTSTK) tests \
&& echo $@ PASSED) || echo $@ FAILED