-
Notifications
You must be signed in to change notification settings - Fork 60
/
Makefile
46 lines (32 loc) · 820 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
35
36
37
38
39
40
41
42
43
44
45
46
all: build
build:
@dune build --profile dev
@ln -sfn _build/install/default/bin/comby comby
build-with-coverage:
@dune build --instrument-with bisect_ppx --force
@ln -sfn _build/install/default/bin/comby comby
release:
@dune build --profile release
@ln -sfn _build/install/default/bin/comby comby
byte:
@dune build src/main.bc
install:
@dune install
doc:
@dune build @doc
test:
@dune runtest
coverage:
@bisect-ppx-report -I _build/default/ -html coverage/ `find . -name 'bisect*.out'`
clean:
@dune clean
@rm -rf comby
uninstall:
@dune uninstall
promote:
@dune promote
format:
@dune build @fmt --auto-promote
docker-test-build:
docker build -t comby-local-test-build .
.PHONY: all build build-with-coverage release install doc test coverage clean uninstall promote format docker-test-build