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