Parcourir la source

move dialyze setting of debug_info to overrides in profile

pull/1104/head
Tristan Sloughter il y a 9 ans
Parent
révision
459f14dc67
1 fichiers modifiés avec 27 ajouts et 26 suppressions
  1. +27
    -26
      rebar.config

+ 27
- 26
rebar.config Voir le fichier

@ -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]}]}]}.

Chargement…
Annuler
Enregistrer