Skip to content

Commit

Permalink
Merge pull request #1104 from tsloughter/master
Browse files Browse the repository at this point in the history
move dialyze setting of debug_info to overrides in profile
  • Loading branch information
ferd committed Mar 3, 2016
2 parents 1918274 + 459f14d commit e389238
Showing 1 changed file with 27 additions and 26 deletions.
53 changes: 27 additions & 26 deletions rebar.config
Original file line number Diff line number Diff line change
Expand Up @@ -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]}]}]}.

0 comments on commit e389238

Please sign in to comment.