From 10c8b02a8d76af43c3c56e2037783511bf6a2cf2 Mon Sep 17 00:00:00 2001 From: Josh Berdine Date: Wed, 31 Oct 2018 11:16:11 -0700 Subject: [PATCH] [sledge] Clean test coverage data before `make coverage` Reviewed By: mbouaziz Differential Revision: D12854512 fbshipit-source-id: 51d0d8d27 --- sledge/Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/sledge/Makefile b/sledge/Makefile index b678693e4..d7dcc6a57 100644 --- a/sledge/Makefile +++ b/sledge/Makefile @@ -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/