sv2v/Makefile

22 lines
411 B
Makefile
Raw Normal View History

2019-03-27 02:32:02 +01:00
.PHONY: all sv2v clean test
2019-02-08 07:09:10 +01:00
all: sv2v
2019-02-12 05:44:02 +01:00
sv2v:
2019-02-08 22:51:32 +01:00
mkdir -p bin
stack install --install-ghc --local-bin-path bin
2019-02-08 07:09:10 +01:00
clean:
2019-02-12 05:44:02 +01:00
stack clean
rm -rf bin
2019-03-27 02:32:02 +01:00
test:
(cd test && ./run-all.sh)
2020-12-11 20:40:21 +01:00
coverage:
stack install --local-bin-path bin --ghc-options=-fhpc
rm -f test/*/sv2v.tix
make test
stack exec hpc -- sum test/*/sv2v.tix --union --output=.hpc/combined.tix
stack exec hpc -- markup .hpc/combined.tix --destdir=.hpc