build(emqx): fix emqx standalone dialyzer

This commit is contained in:
Zaiming Shi 2021-06-05 21:36:10 +02:00
parent 7da34b80e5
commit b92a6837d7
1 changed files with 10 additions and 1 deletions

View File

@ -24,7 +24,6 @@
{plugins, [rebar3_proper]}. {plugins, [rebar3_proper]}.
{extra_src_dirs, [{"etc", [recursive]}]}. {extra_src_dirs, [{"etc", [recursive]}]}.
{profiles, [ {profiles, [
{test, {test,
[{deps, [{deps,
@ -36,3 +35,13 @@
{extra_src_dirs, [{"test",[recursive]}]} {extra_src_dirs, [{"test",[recursive]}]}
]} ]}
]}. ]}.
{dialyzer, [
{warnings, [unmatched_returns, error_handling, race_conditions]},
{plt_location, "."},
{plt_prefix, "emqx_dialyzer"},
{plt_apps, all_apps},
{plt_extra_apps, [hocon]},
{statistics, true}
]
}.