From 303c1cce1c063ff22cbdef08a1bd1dbcf983ea64 Mon Sep 17 00:00:00 2001 From: "Paulo F. Oliveira" Date: Tue, 19 Dec 2023 16:50:16 +0000 Subject: [PATCH] Add missing doc. for `incremental` on Dialyzer analysis --- apps/rebar/src/rebar_prv_dialyzer.erl | 1 + rebar.config.sample | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/apps/rebar/src/rebar_prv_dialyzer.erl b/apps/rebar/src/rebar_prv_dialyzer.erl index 3252e6ec9..e4ca0fdb8 100644 --- a/apps/rebar/src/rebar_prv_dialyzer.erl +++ b/apps/rebar/src/rebar_prv_dialyzer.erl @@ -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" diff --git a/rebar.config.sample b/rebar.config.sample index c3646de26..58e0cb1ee 100644 --- a/rebar.config.sample +++ b/rebar.config.sample @@ -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 ]}.