[sledge] Clean test coverage data before `make coverage`

Reviewed By: mbouaziz

Differential Revision: D12854512

fbshipit-source-id: 51d0d8d27
master
Josh Berdine 6 years ago committed by Facebook Github Bot
parent 6df666b87b
commit 10c8b02a8d

@ -46,6 +46,7 @@ BISECT_DIR=$(CURDIR)/_coverage/out
.PHONY: coverage
coverage: setup
@rm -rf _coverage
@mkdir -p $(BISECT_DIR)
@BISECT_FILE=$(BISECT_DIR)/bisect dune build --force @_build/coverage/runtest
@find $(BISECT_DIR) -type f | xargs bisect-ppx-report -I _build/coverage/ -text _coverage/summary.txt -html _coverage/

Loading…
Cancel
Save