From 57532fd18ed455712c199f9bb222e8079f2e0248 Mon Sep 17 00:00:00 2001 From: Luis Rascao Date: Thu, 6 Oct 2016 23:49:18 +0100 Subject: Add dialyzer profile Add debug_info to all deps. --- rebar.config | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'rebar.config') diff --git a/rebar.config b/rebar.config index bb179ea..5cdd869 100644 --- a/rebar.config +++ b/rebar.config @@ -21,6 +21,9 @@ warnings_as_errors, inline]}. +%% Use OTP 18+ when dialyzing relx +{dialyzer, [{warnings, [unknown]}]}. + %% EUnit ======================================================================= {eunit_opts, [{report, {eunit_surefire, [{dir, "."}]}}]}. @@ -29,7 +32,14 @@ {profiles, [{dev, [{plugins, [rebar3_neotoma_plugin]}]}, - {test, [{erl_opts, [debug_info]}]} + {test, [{erl_opts, [debug_info]}]}, + + {dialyze, [{overrides, [{add, erlware_commons, [{erl_opts, [debug_info]}]}, + {add, providers, [{erl_opts, [debug_info]}]}, + {add, getopt, [{erl_opts, [debug_info]}]}, + {add, bbmustache, [{erl_opts, [debug_info]}]}, + {add, cf, [{erl_opts, [debug_info]}]}]}, + {erl_opts, [debug_info]}]} ]}. {overrides, [{override, erlware_commons, [ -- cgit v1.2.3