-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
39 lines (30 loc) · 548 Bytes
/
Makefile
File metadata and controls
39 lines (30 loc) · 548 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
export
.PHONY: build
build:
dune build @all -j8
.PHONY: watch
watch:
dune build @all --watch -j8
.PHONY: install
install:
dune install
.PHONY: setup
setup:
opam install dune menhir ocaml-compiler-libs cmdliner ppx_sexp_conv sexplib ocamlformat bisect_ppx
.PHONY: test
test:
dune runtest
.PHONY: coverage
coverage:
dune runtest --instrument-with bisect_ppx --force
bisect-ppx-report html --expect src
.PHONY: promote
promote:
dune promote
.PHONY: fmt
fmt:
dune build @fmt --auto-promote
cargo fmt
.PHONY: clean
clean:
dune clean