-
Notifications
You must be signed in to change notification settings - Fork 80
/
Copy pathMakefile
55 lines (40 loc) · 1.3 KB
/
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
47
48
49
50
51
52
53
54
55
.PHONY: rel compile get-deps update-deps test clean deep-clean
rel: compile
@./rebar generate -f
@./scripts/post_generate_hook
offline:
@./rebar compile
@./rebar generate -f
@./scripts/post_generate_hook
compile: get-deps update-deps
@./rebar compile
get-deps:
@./rebar get-deps
update-deps:
@./rebar update-deps
test: compile
@./rebar skip_deps=true apps="linc,linc_us5" eunit
test_us3: compile
@./rebar skip_deps=true apps="linc,linc_us3" eunit
test_us4: compile
@./rebar skip_deps=true apps="linc,linc_us4" eunit
test_us4_oe: compile
@./rebar skip_deps=true apps="linc,linc_us4_oe" 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
dev_prepare: compile
./scripts/pre_develop_hook
dev:
erl -env ERL_MAX_ETS_TABLES 3000 -pa apps/*/ebin apps/*/test \
deps/*/ebin -config rel/files/sys.config -args_file rel/files/vm.args \
-eval "lists:map(fun application:start/1, [kernel, stdlib, asn1, \
crypto, public_key, ssl, compiler, syntax_tools, runtime_tools, \
xmerl, mnesia, goldrush, lager, netlink, linc, of_protocol, \
of_config, sync])"