42 lines
563 B
Makefile
42 lines
563 B
Makefile
.PHONY: all build clean test install uninstall fmt doc coverage bench fuzz
|
|
|
|
all: build
|
|
|
|
build:
|
|
dune build
|
|
|
|
test:
|
|
dune runtest --force
|
|
|
|
install:
|
|
dune install
|
|
|
|
uninstall:
|
|
dune uninstall
|
|
|
|
clean:
|
|
dune clean
|
|
|
|
fmt:
|
|
dune build @fmt --auto-promote
|
|
|
|
doc:
|
|
dune build @doc
|
|
|
|
coverage:
|
|
BISECT_ENABLE=yes dune runtest --force
|
|
bisect-ppx-report html
|
|
bisect-ppx-report summary
|
|
|
|
bench:
|
|
dune exec --release -- bench/run_benchmarks.exe
|
|
|
|
fuzz:
|
|
dune exec -- fuzz/fuzz_parser.exe
|
|
|
|
watch:
|
|
dune build --watch
|
|
|
|
promote:
|
|
dune promote
|