chore: add light dialyzer make target
for low mem dev machines
This commit is contained in:
parent
1302e942c5
commit
0d37ee9588
4
Makefile
4
Makefile
|
@ -132,6 +132,10 @@ xref: $(REBAR)
|
||||||
dialyzer: $(REBAR)
|
dialyzer: $(REBAR)
|
||||||
@$(REBAR) as check dialyzer
|
@$(REBAR) as check dialyzer
|
||||||
|
|
||||||
|
.PHONY: ldialyzer
|
||||||
|
ldialyzer: $(REBAR)
|
||||||
|
@$(REBAR) as lcheck dialyzer
|
||||||
|
|
||||||
COMMON_DEPS := $(REBAR) get-dashboard conf-segs
|
COMMON_DEPS := $(REBAR) get-dashboard conf-segs
|
||||||
|
|
||||||
## rel target is to create release package without relup
|
## rel target is to create release package without relup
|
||||||
|
|
|
@ -163,6 +163,11 @@ profiles() ->
|
||||||
[ {erl_opts, common_compile_opts()}
|
[ {erl_opts, common_compile_opts()}
|
||||||
, {project_app_dirs, project_app_dirs(ce)}
|
, {project_app_dirs, project_app_dirs(ce)}
|
||||||
]}
|
]}
|
||||||
|
, {lcheck,
|
||||||
|
[ {erl_opts, common_compile_opts()}
|
||||||
|
, {project_app_dirs, project_app_dirs(ce)}
|
||||||
|
, {dialyzer, [{warnings, [unmatched_returns, error_handling]}]}
|
||||||
|
]}
|
||||||
, {test,
|
, {test,
|
||||||
[ {deps, test_deps()}
|
[ {deps, test_deps()}
|
||||||
, {erl_opts, common_compile_opts() ++ erl_opts_i(ce) }
|
, {erl_opts, common_compile_opts() ++ erl_opts_i(ce) }
|
||||||
|
|
Loading…
Reference in New Issue