summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTristan Sloughter <t@crashfast.com>2016-03-02 18:49:53 -0600
committerTristan Sloughter <t@crashfast.com>2016-03-02 19:02:01 -0600
commit459f14dc67403a27e744b14854b9c928dc11bc13 (patch)
tree97dd5d30ca94a63243a2e90d01db7311d0c0a725
parent1918274cd9e8e632968062d631c1b2b75db5c602 (diff)
move dialyze setting of debug_info to overrides in profile
-rw-r--r--rebar.config53
1 files changed, 27 insertions, 26 deletions
diff --git a/rebar.config b/rebar.config
index a5eb6e3..4750adb 100644
--- a/rebar.config
+++ b/rebar.config
@@ -35,32 +35,33 @@
{bootstrap, []},
- {dialyze, [{erl_opts, [debug_info]}]}
+ {dialyze, [{overrides, [{add, erlware_commons, [{erl_opts, [debug_info]}]},
+ {add, ssl_verify_hostname, [{erl_opts, [debug_info]}]},
+ {add, certifi, [{erl_opts, [debug_info]}]},
+ {add, providers, [{erl_opts, [debug_info]}]},
+ {add, getopt, [{erl_opts, [debug_info]}]},
+ {add, bbmustache, [{erl_opts, [debug_info]}]},
+ {add, relx, [{erl_opts, [debug_info]}]},
+ {add, cf, [{erl_opts, [debug_info]}]},
+ {add, cth_readable, [{erl_opts, [debug_info]}]},
+ {add, eunit_formatters, [{erl_opts, [debug_info]}]}]},
+ {erl_opts, [debug_info]}]}
]}.
%% Overrides
-{overrides, [{override, erlware_commons, [
- {erl_opts, [{platform_define, "^[0-9]+", namespaced_types},
- {platform_define, "^R1[4|5]", deprecated_crypto},
- no_debug_info,
- warnings_as_errors]},
- {deps, []}, {plugins, []},
- {profiles, [{dialyze, [{erl_opts, [debug_info]}]}]}
- ]},
- {override, bbmustache, [
- {erl_opts, [no_debug_info,
- {platform_define, "^[0-9]+", namespaced_types}]},
- {deps, []}, {plugins, []},
- {profiles, [{dialyze, [{erl_opts, [debug_info]}]}]}
- ]},
- {override, getopt, [{erl_opts, [no_debug_info]},
- {profiles, [{dialyze, [{erl_opts, [debug_info]}]}]}]},
- {override, providers, [{erl_opts, [no_debug_info]},
- {profiles, [{dialyze, [{erl_opts, [debug_info]}]}]}]},
- {override, relx, [{erl_opts, [{platform_define, "^[0-9]+", namespaced_types},
- {platform_define, "^R1[4|5]", deprecated_crypto},
- no_debug_info,
- warnings_as_errors]},
- {profiles, [{dialyze, [{erl_opts, [debug_info]}]}]}
- ]}
- ]}.
+{overrides, [{override, erlware_commons, [{erl_opts, [{platform_define, "^[0-9]+", namespaced_types},
+ {platform_define, "^R1[4|5]", deprecated_crypto},
+ no_debug_info,
+ warnings_as_errors]},
+ {deps, []}, {plugins, []}]},
+ {add, ssl_verify_hostname, [{erl_opts, [no_debug_info]}]},
+ {add, certifi, [{erl_opts, [no_debug_info]}]},
+ {add, cf, [{erl_opts, [no_debug_info]}]},
+ {add, cth_readable, [{erl_opts, [no_debug_info]}]},
+ {add, eunit_formatters, [{erl_opts, [no_debug_info]}]},
+ {override, bbmustache, [{erl_opts, [no_debug_info,
+ {platform_define, "^[0-9]+", namespaced_types}]},
+ {deps, []}, {plugins, []}]},
+ {add, getopt, [{erl_opts, [no_debug_info]}]},
+ {add, providers, [{erl_opts, [no_debug_info]}]},
+ {add, relx, [{erl_opts, [no_debug_info]}]}]}.