diff options
author | Tuncer Ayaz <tuncer.ayaz@gmail.com> | 2015-05-15 11:56:31 +0200 |
---|---|---|
committer | Tuncer Ayaz <tuncer.ayaz@gmail.com> | 2015-05-22 09:53:09 +0200 |
commit | 46869dabbe96481db5d8f17f449cbdc40b387409 (patch) | |
tree | 83cade937e7d7b93b38b195cfa8b3d79854ce580 /rebar.config.sample | |
parent | 72d2bf506d3e3f8011c43f7d8e40cdeac892ac34 (diff) | |
download | rebar-46869dabbe96481db5d8f17f449cbdc40b387409.tar.gz |
dialyzer: nest dialyzer options to match rebar3
{dialyzer,
[
%% Store PLT in ~/.rebar/plt (Default)
{plt_location, shared},
%% Store PLT locally inside the project in .rebar
{plt_location, local},
%% Store PLT in custom directory
{plt_location, "custom_dir"},
%% Extra apps to include in the PLT
{plt_extra_apps, [app1, app2]},
{warnings, [unmatched_returns, error_handling]}
]}.
Diffstat (limited to 'rebar.config.sample')
-rw-r--r-- | rebar.config.sample | 25 |
1 files changed, 12 insertions, 13 deletions
diff --git a/rebar.config.sample b/rebar.config.sample index 41a96a4..da1e929 100644 --- a/rebar.config.sample +++ b/rebar.config.sample @@ -269,16 +269,15 @@ %% == Dialyzer == -%% Store PLT in ~/.rebar/plt (Default) -{dialyzer_plt_location, shared}. - -%% Store PLT locally inside the project in .rebar -{dialyzer_plt_location, local}. - -%% Store PLT in custom directory -{dialyzer_plt_location, "custom_path"}. - -%% Extra apps to include in the PLT -{dialyzer_plt_extra_apps, [app1, app2]}. - -{dialyzer_warnings, [unmatched_returns, error_handling]}. +{dialyzer, + [ + %% Store PLT in ~/.rebar/plt (Default) + {plt_location, shared}, + %% Store PLT locally inside the project in .rebar + {plt_location, local}, + %% Store PLT in custom directory + {plt_location, "custom_dir"}, + %% Extra apps to include in the PLT + {plt_extra_apps, [app1, app2]}, + {warnings, [unmatched_returns, error_handling]} + ]}. |