-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathMakefile
More file actions
45 lines (32 loc) · 823 Bytes
/
Makefile
File metadata and controls
45 lines (32 loc) · 823 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
.PHONY: rel compile lib get-deps update-deps test clean deep-clean
rel: compile
# @./rebar generate -f
# @./scripts/post_generate_hook
offline:
@./rebar compile
# erl -pa ebin
# @./rebar generate -f
# @./scripts/post_generate_hook
lib:
cd lib; make all
compile: lib get-deps update-deps
@./rebar compile
beams:
@./rebar compile
get-deps:
@./rebar get-deps
update-deps:
@./rebar update-deps
test: offline
@./rebar skip_deps=true apps="loom" eunit
test_us3: compile
@./rebar skip_deps=true apps="loom" eunit
clean:
@./rebar clean
deep-clean: clean
@./rebar delete-deps
setup_dialyzer:
dialyzer --build_plt --apps erts kernel stdlib mnesia compiler syntax_tools runtime_tools crypto tools inets ssl webtool public_key observer
dialyzer --add_to_plt deps/*/ebin
dialyzer: compile
dialyzer apps/*/ebin