Skip to content

Commit

Permalink
Add missing doc. for incremental on Dialyzer analysis
Browse files Browse the repository at this point in the history
  • Loading branch information
kivra-pauoli committed Dec 19, 2023
1 parent 7a27a26 commit 303c1cc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions apps/rebar/src/rebar_prv_dialyzer.erl
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ desc() ->
"success typing analysis\n"
"`output_format` - configure whether the dialyzer_warnings file will have "
"the `raw` or `formatted` output\n"
"`incremental` - incremental analysis mode, defaults to `false`\n"
"\n"
"For example, to warn on unmatched returns: \n"
"{dialyzer, [{warnings, [unmatched_returns]}]}.\n"
Expand Down
3 changes: 2 additions & 1 deletion rebar.config.sample
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,8 @@
{plt_prefix, "rebar3"},
{base_plt_apps, [stdlib, kernel, crypto]},
{base_plt_location, global}, % global | "/my/file/name"
{base_plt_prefix, "rebar3"}
{base_plt_prefix, "rebar3"},
incremental
]}.


Expand Down

0 comments on commit 303c1cc

Please sign in to comment.