43 lines
1.1 KiB
Erlang
43 lines
1.1 KiB
Erlang
{minimum_otp_vsn, "21.0"}.
|
|
|
|
{deps,
|
|
[{minirest, {git, "https://github.com/emqx/minirest", {tag, "0.3.2"}}},
|
|
{rulesql, {git, "https://github.com/emqx/rulesql", {tag, "0.1.2"}}},
|
|
{getopt, "1.0.1"}
|
|
]}.
|
|
|
|
{erl_opts, [warn_unused_vars,
|
|
warn_shadow_vars,
|
|
warn_unused_import,
|
|
warn_obsolete_guard,
|
|
no_debug_info,
|
|
compressed, %% for edge
|
|
{parse_transform}
|
|
]}.
|
|
|
|
{overrides, [{add, [{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
|
|
]}.
|
|
|
|
{cover_enabled, true}.
|
|
{cover_opts, [verbose]}.
|
|
{cover_export_enabled, true}.
|
|
|
|
{plugins, [rebar3_proper]}.
|
|
|
|
{profiles,
|
|
[{test,
|
|
[{deps,
|
|
[{emqx_ct_helpers, {git, "https://github.com/emqx/emqx-ct-helpers", {tag, "1.2.1"}}},
|
|
{emqtt, {git, "https://github.com/emqx/emqtt", {tag, "1.1.1"}}}
|
|
]},
|
|
{erl_opts, [debug_info]}
|
|
]}
|
|
]}.
|
|
|