Add dialyzer targets to Makefile ... time to get type serious
This commit is contained in:
parent
be55d98bb5
commit
7878d954c1
1 changed files with 13 additions and 0 deletions
|
@ -24,3 +24,16 @@ eunit:
|
||||||
pulse: compile
|
pulse: compile
|
||||||
env USE_PULSE=1 $(REBAR_BIN) skip_deps=true clean compile
|
env USE_PULSE=1 $(REBAR_BIN) skip_deps=true clean compile
|
||||||
env USE_PULSE=1 $(REBAR_BIN) skip_deps=true -D PULSE eunit
|
env USE_PULSE=1 $(REBAR_BIN) skip_deps=true -D PULSE eunit
|
||||||
|
|
||||||
|
APPS = kernel stdlib sasl erts ssl tools os_mon runtime_tools crypto inets \
|
||||||
|
xmerl webtool snmp public_key mnesia eunit syntax_tools compiler
|
||||||
|
PLT = $(HOME)/.dbms_dialyzer_plt
|
||||||
|
|
||||||
|
build_plt: deps compile
|
||||||
|
dialyzer --build_plt --output_plt $(PLT) --apps $(APPS) deps/*/ebin
|
||||||
|
|
||||||
|
dialyzer: deps compile
|
||||||
|
dialyzer -Wno_return --plt $(PLT) ebin
|
||||||
|
|
||||||
|
clean_plt:
|
||||||
|
rm $(PLT)
|
||||||
|
|
Loading…
Reference in a new issue