-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
34 lines (27 loc) · 826 Bytes
/
Makefile
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
#> Available Makefile rules:
#> -------------------------
help : Makefile
@sed -n 's/^#> //p' $<
#> dependencies | Install all OCaml ltl2ba dependencies
dependencies:
opam install . --deps-only --with-doc --with-test --yes --working-dir
#> build | Builds the ltl2ba executable
build:
dune build
#> test | Run unit tests
test:
dune test -f
#> test-cov | Run unit tests instrumented with bisect-ppx
test-cov:
dune runtest --instrument-with bisect_ppx --force
bisect-ppx-report summary
#> doc | Generates the HTML documentation via odoc
doc:
dune build @doc
ln -sf $(PWD)/_build/default/_doc/_html/index.html docs/index.html
#> doc-watch | Alias for the command: dune build @doc --watch
doc-watch:
dune build @doc --watch
#> clean | Cleans build artifacts
clean:
dune clean