Update erl_opts and add 'compressed' opt for edge
This commit is contained in:
parent
eea377eb8f
commit
cce6b462b4
20
rebar.config
20
rebar.config
|
@ -10,15 +10,23 @@
|
|||
{cuttlefish, {git, "https://github.com/emqx/cuttlefish", {tag, "v3.0.0"}}}
|
||||
]}.
|
||||
|
||||
{edoc_opts, [{preprocess, true}]}.
|
||||
{erl_opts, [warn_unused_vars,
|
||||
warn_shadow_vars,
|
||||
warn_unused_import,
|
||||
warn_obsolete_guard,
|
||||
debug_info]}.
|
||||
no_debug_info,
|
||||
compressed %% for edge
|
||||
]}.
|
||||
|
||||
{overrides, [{override, [{erl_opts, [no_debug_info, compressed]}]}]}.
|
||||
|
||||
{edoc_opts, [{preprocess, true}]}.
|
||||
|
||||
{xref_checks, [undefined_function_calls, undefined_functions,
|
||||
locals_not_used, deprecated_function_calls,
|
||||
warnings_as_errors, deprecated_functions]}.
|
||||
warnings_as_errors, deprecated_functions
|
||||
]}.
|
||||
|
||||
{cover_enabled, true}.
|
||||
{cover_opts, [verbose]}.
|
||||
{cover_export_enabled, true}.
|
||||
|
@ -30,9 +38,11 @@
|
|||
{profiles,
|
||||
[{test,
|
||||
[{deps,
|
||||
[{bbmustache, "1.7.0"}, % hex
|
||||
[{bbmustache, "1.7.0"},
|
||||
{emqtt, {git, "https://github.com/emqx/emqtt", {branch, "develop"}}},
|
||||
{emqx_ct_helpers, {git, "https://github.com/emqx/emqx-ct-helpers", {branch, "develop"}}}
|
||||
]}
|
||||
]},
|
||||
{erl_opts, [debug_info]}
|
||||
]}
|
||||
]}.
|
||||
|
||||
|
|
Loading…
Reference in New Issue