forked from teburd/hottub
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
48 lines (33 loc) · 899 Bytes
/
Makefile
File metadata and controls
48 lines (33 loc) · 899 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
.PHONY: all compile deps eunit rel clean
all: compile
deps:
@./rebar get-deps
compile:
@./rebar compile
clean:
@./rebar clean
distclean: clean
@./rebar delete-deps
docs:
@./rebar skip_deps=true docs
APPS = kernel stdlib sasl erts ssl tools os_mon runtime_tools crypto inets \
xmerl webtool snmp public_key mnesia eunit syntax_tools compiler
COMBO_PLT = $(HOME)/.corbel_dialyzer_plt
build_plt:
dialyzer --build_plt --output_plt $(COMBO_PLT) --apps $(APPS) deps/*/ebin apps/*/ebin ebin
dialyzer:
@echo
@echo Use "'make build_plt'" to build PLT prior to using this target.
@echo
@sleep 1
dialyzer -Wno_return --plt $(COMBO_PLT) apps/*/ebin deps/*/ebin ebin
typer:
typer --plt $(COMBO_PLT) -r apps -I deps -I apps
eunit:
rm -f .eunit/*.dat
@./rebar skip_deps=true eunit
test: eunit
rel: rel/reltool.config rel_clean all
@./rebar generate
rel_clean:
rm -rf rel/hottub