mirror of
https://github.com/simonmichael/hledger.git
synced 2024-11-07 21:15:19 +03:00
stack: more robust make stacktest, does a clean first
[ci skip]
This commit is contained in:
parent
9ef6abb3b6
commit
6f44987c42
6
Makefile
6
Makefile
@ -721,16 +721,14 @@ cabalfiletest: \
|
||||
# && echo $@ PASSED) || echo $@ FAILED
|
||||
# # && cabal upload dist/$$p-$(VERSION).tar.gz --check -v3 \
|
||||
|
||||
STACKTESTACTION=build --test --bench
|
||||
#STACKTESTACTION=build --dry-run
|
||||
|
||||
stacktest: $(call def-help,stacktest, try a build/test/bench with each stack config) \
|
||||
test-stack7.10.yaml \
|
||||
test-stack8.0.yaml \
|
||||
test-stack.yaml \
|
||||
|
||||
test-stack%yaml:
|
||||
stack --stack-yaml stack$*yaml --install-ghc $(STACKTESTACTION)
|
||||
stack --stack-yaml stack$*yaml clean
|
||||
stack --stack-yaml stack$*yaml --install-ghc build --test --bench
|
||||
|
||||
BENCHEXES=hledger-0.27,hledger
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user