Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 33 lines (22 sloc) 0.615 kb
56d0903 Better Makefile with dialyzer support
Devin Torres authored
1 REBAR = ./rebar
2 DIALYZER = dialyzer
3
4 DIALYZER_WARNINGS = -Wunmatched_returns -Werror_handling \
5 -Wrace_conditions -Wunderspecs
6
b2c8a13 Add more targets to .PHONY in Makefile and add get-deps for when we a…
Devin Torres authored
7 .PHONY: all compile test clean get-deps build-plt dialyze
6979378 Add PHONY targets to Makefile
Devin Torres authored
8
cd1174c Initial import
Devin Torres authored
9 all: compile
10
11 compile:
56d0903 Better Makefile with dialyzer support
Devin Torres authored
12 @$(REBAR) compile
13
14 test: compile
b2c8a13 Add more targets to .PHONY in Makefile and add get-deps for when we a…
Devin Torres authored
15 @$(REBAR) eunit skip_deps=true
cd1174c Initial import
Devin Torres authored
16
40a2253 @devinus Add make qc
devinus authored
17 qc: compile
18 @$(REBAR) qc skip_deps=true
19
cd1174c Initial import
Devin Torres authored
20 clean:
56d0903 Better Makefile with dialyzer support
Devin Torres authored
21 @$(REBAR) clean
22
b2c8a13 Add more targets to .PHONY in Makefile and add get-deps for when we a…
Devin Torres authored
23 get-deps:
24 @$(REBAR) get-deps
25
56d0903 Better Makefile with dialyzer support
Devin Torres authored
26 build-plt:
27 @$(DIALYZER) --build_plt --output_plt .dialyzer_plt \
28 --apps kernel stdlib
29
30 dialyze: compile
e6aeeff Add typespecs and test Kevin Smith's worker init/stop functionality
Devin Torres authored
31 @$(DIALYZER) --src src --plt .dialyzer_plt $(DIALYZER_WARNINGS) | \
32 fgrep -vf .dialyzer-ignore-warnings
Something went wrong with that request. Please try again.