dgiot/apps/emqx_exproto/rebar.config

53 lines
1.4 KiB
Plaintext
Raw Normal View History

2021-05-18 14:54:48 +08:00
%%-*- mode: erlang -*-
{edoc_opts, [{preprocess, true}]}.
{erl_opts, [warn_unused_vars,
warn_shadow_vars,
warn_unused_import,
warn_obsolete_guard,
debug_info,
{parse_transform}]}.
{plugins,
[rebar3_proper,
2021-07-22 11:28:47 +08:00
{grpc_plugin, {git, "https://gitee.com/fastdgiot/grpc_plugin", {tag, "v0.10.3"}}}
2021-05-18 14:54:48 +08:00
]}.
{deps,
2021-08-20 16:05:42 +08:00
[{grpc, {git, "https://gitee.com/fastdgiot/grpc-erl", {tag, "0.6.3"}}}
2021-05-18 14:54:48 +08:00
]}.
{grpc,
[{type, all},
{protos, ["priv/protos"]},
{gpb_opts, [{module_name_prefix, "emqx_"},
{module_name_suffix, "_pb"}]}
]}.
{provider_hooks,
[{pre, [{compile, {grpc, gen}},
{clean, {grpc, clean}}]}
]}.
{xref_checks, [undefined_function_calls, undefined_functions,
locals_not_used, deprecated_function_calls,
warnings_as_errors, deprecated_functions]}.
{xref_ignores, [emqx_exproto_pb]}.
{cover_enabled, true}.
{cover_opts, [verbose]}.
{cover_export_enabled, true}.
{cover_excl_mods, [emqx_exproto_pb,
emqx_exproto_v_1_connection_adapter_client,
emqx_exproto_v_1_connection_adapter_bhvr,
emqx_exproto_v_1_connection_handler_client,
emqx_exproto_v_1_connection_handler_bhvr]}.
{profiles,
[{test,
[{deps,
2021-07-22 11:28:47 +08:00
[{emqx_ct_helper, {git, "https://gitee.com/fastdgiot/emqx-ct-helpers", {tag, "v1.3.0"}}}
2021-05-18 14:54:48 +08:00
]}
]}
]}.