OCaml: Add coverage reporting

This commit is contained in:
Juno Takano 2025-04-15 20:57:00 -03:00
commit db0fba664c
5 changed files with 29 additions and 0 deletions

25
ocaml/justfile Normal file
View file

@ -0,0 +1,25 @@
default:
@just --list
build :
dune build
test :
dune build
dune test
format :
dune fmt; dune promote
check-format :
dune build fmt
cover :
find . -name '*.coverage' -exec rm -v '{}' ';'
dune build
dune runtest --instrument-with bisect_ppx --force
bisect-ppx-report html
bisect-ppx-report summary
clean :
dune clean