chore(rebar): Move no_debug_info to per-profile config
This commit is contained in:
parent
ded92cc10b
commit
b2d3358368
|
@ -9,12 +9,11 @@
|
|||
{minimum_otp_vsn, "21.3"}.
|
||||
{edoc_opts, [{preprocess,true}]}.
|
||||
{erl_opts, [warn_unused_vars,warn_shadow_vars,warn_unused_import,
|
||||
warn_obsolete_guard,no_debug_info,compressed]}.
|
||||
warn_obsolete_guard,compressed]}.
|
||||
|
||||
{overrides,[{add,[{erl_opts,[no_debug_info,compressed,deterministic,
|
||||
{overrides,[{add,[{erl_opts,[compressed,deterministic,
|
||||
{parse_transform,mod_vsn}]}]}]}.
|
||||
|
||||
|
||||
{xref_checks,[undefined_function_calls,undefined_functions,locals_not_used,
|
||||
deprecated_function_calls,warnings_as_errors, deprecated_functions]}.
|
||||
|
||||
|
|
|
@ -34,12 +34,16 @@ test_deps() ->
|
|||
|
||||
profiles() ->
|
||||
[ {'emqx', [ {relx, relx('emqx')}
|
||||
, {erl_opts, [no_debug_info]}
|
||||
]}
|
||||
, {'emqx-pkg', [ {relx, relx('emqx-pkg')}
|
||||
, {erl_opts, [no_debug_info]}
|
||||
]}
|
||||
, {'emqx-edge', [ {relx, relx('emqx-edge')}
|
||||
, {erl_opts, [no_debug_info]}
|
||||
]}
|
||||
, {'emqx-edge-pkg', [ {relx, relx('emqx-edge-pkg')}
|
||||
, {erl_opts, [no_debug_info]}
|
||||
]}
|
||||
, {test, [ {deps, test_deps()}
|
||||
, {erl_opts, [debug_info]}
|
||||
|
|
Loading…
Reference in New Issue