-
Notifications
You must be signed in to change notification settings - Fork 8
/
Makefile
46 lines (31 loc) · 857 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
INSTALL_ARGS := $(if $(PREFIX),--prefix $(PREFIX),)
MINIMAL_PLT := test/blackbox-test/minimal.plt
# Default rule
default:
dune build @install
beam:
test/blackbox-test/compile.sh
$(MINIMAL_PLT):
dialyzer --build_plt --output_plt $(MINIMAL_PLT) \
--apps stdlib
test: unit-test beam $(MINIMAL_PLT) blackbox-test
unit-test:
dune runtest test/unit-test
blackbox-test:
dune runtest test/blackbox-test
promote:
dune promote
doc: odoc pdf
odoc:
dune build @doc
pdf:
ls docs/*.saty | xargs -L 1 docker run --rm -v $(PWD):/home/opam/satysfi amutake/satysfi:0.0.3-dev2019.02.13 satysfi {}
install:
dune install $(INSTALL_ARGS)
uninstall:
dune uninstall $(INSTALL_ARGS)
reinstall: uninstall reinstall
clean:
rm -rf _build
rm -f $(MINIMAL_PLT)
.PHONY: default install beam test unit-test blackbox-test promote doc uninstall reinstall clean