forked from dalmatinerdb/mmath
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
42 lines (30 loc) · 707 Bytes
/
Makefile
File metadata and controls
42 lines (30 loc) · 707 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
40
41
42
REBAR = rebar3
.PHONY: rel package compile test
all: compile
compile:
$(REBAR) compile
clean:
$(REBAR) clean
qc: clean all
$(REBAR) as eqc eqc -x -n 100000
eqc-ci: all
$(REBAR) -D EQC_CI -C rebar_eqc_ci.config compile eunit skip_deps=true --verbose
bench:
$(REBAR) ct
eqc-compile:
mkdir ebin
mkdir tbin
(cd test; erl -noshell -DEQC -DTEST -eval 'make:all([{parse_transform, eqc_cover}, {outdir, "../tbin"}])' -s init stop)
(cd src; erl -noshell -DEQC -DTEST -eval 'make:all([{parse_transform, eqc_cover}, {i, "../include"}, {outdir, "../ebin"}])' -s init stop)
###
### Docs
###
docs:
$(REBAR) skip_deps=true doc
##
## Developer targets
##
xref:
$(REBAR) xref
console:
$(REBAR) shell