rebar dialyzer plugin - after removed dialyze from rebar I have backported original code made by Dave Smith to using as plugin.
Erlang Shell
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
example
include
src
.gitignore
LICENSE
Makefile
README.md
console
rebar
rebar.config

README.md

Rebar Dialyzer Plugin

After removed dialyze from rebar I have backported original code made by Dave Smith to using as plugin.

Usage (rebar.config):

%% Plugin dependency
{deps, [
    {rebar_dialyzer_plugin, ".*",
      {git, "https://github.com/andrzejsliwa/rebar_dialyzer_plugin.git", "master"}}
]}.

%% Plugin usage
{rebar_plugins, [rebar_dialyzer_plugin]}.

%% Options for running dialyzer
%% {plt, PltFile}
%% 'src': run Dialyzer on the source files as in 'dialyzer --src'
%% {warnings, [WarnOpts]}: turn on/off Dialyzer warnings
%% {excluded_apps, [ExclApps]}: names of apps excluded
%%   when building PTL
{dialyzer_opts, [{plt, PltFile}, {warnings, [WarnOpts]}, src,
                 {excluded_apps, [ExclApps]}]}.

Usage (rebar):

$ ./rebar dialyze   # analyze with Dialyzer

$ ./rebar build-plt # build Dialyzer PLT

$ ./rebar check-plt # check Dialyzer PLT