forked from band115/ecirca
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathMakefile
More file actions
49 lines (33 loc) · 759 Bytes
/
Makefile
File metadata and controls
49 lines (33 loc) · 759 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
43
44
45
46
47
48
49
# See LICENSE for licensing information.
DIALYZER = dialyzer
REBAR = rebar
all: app
app: deps
@$(REBAR) compile
deps:
@$(REBAR) get-deps
clean:
@$(REBAR) clean
rm -f test/*.beam
rm -f erl_crash.dump
# dev
devdeps:
$(REBAR) -C rebar_dev.config get-deps
devapp: devdeps
$(REBAR) -C rebar_dev.config compile
devclean:
$(REBAR) -C rebar_dev.config clean
tests: clean app eunit # ct
eunit:
@$(REBAR) -C rebar_dev.config eunit skip_deps=true
ct:
@$(REBAR) ct
build-plt:
@$(DIALYZER) --build_plt \
--apps kernel stdlib sasl inets crypto public_key ssl wx mnesia
dialyze:
@$(DIALYZER) -r ebin \
-Wbehaviours -Werror_handling \
-Wrace_conditions -Wunmatched_returns -Wunderspecs #-Wbehaviours
docs:
@$(REBAR) -C rebar_dev.config doc