aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLuis Rascao <[email protected]>2016-10-06 23:49:18 +0100
committerLuis Rascao <[email protected]>2016-10-07 00:09:48 +0100
commit57532fd18ed455712c199f9bb222e8079f2e0248 (patch)
tree1ccba4cf6a88e6226ab37ace07576b78d98429b5
parentabe7a10c1b3b6c6d5618073e98ea50539300ec81 (diff)
downloadrelx-57532fd18ed455712c199f9bb222e8079f2e0248.tar.gz
relx-57532fd18ed455712c199f9bb222e8079f2e0248.tar.bz2
relx-57532fd18ed455712c199f9bb222e8079f2e0248.zip
Add dialyzer profile
Add debug_info to all deps.
-rw-r--r--rebar.config12
1 files changed, 11 insertions, 1 deletions
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, [