forked from Bluehouse-Technology/grpc
-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathrebar.config
58 lines (49 loc) · 1.57 KB
/
rebar.config
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
{minimum_otp_vsn, "21.0"}.
{erl_opts, [debug_info]}.
{plugins,
[ {grpc_plugin, {git, "https://github.com/HJianBo/grpc_plugin", {tag, "v0.10.3"}}}
]}.
{grpc,
[ {type, all}
, {protos, ["priv/"]}
, {out_dir, "src/"}
, {gpb_opts, [{module_name_prefix, "grpc_"},
{module_name_suffix, "_pb"}]}
]}.
{provider_hooks,
[{pre, [{compile, {grpc, gen}},
{clean, {grpc, clean}}]}
]}.
{deps,
[ {gpb, "~> 4.21"}
, {gproc, "1.0.0"}
, {cowboy, {git, "https://github.com/emqx/cowboy", {tag, "2.9.0"}}}
, {gun, "2.1.0"}
]}.
{xref_checks,
[undefined_function_calls,undefined_functions,locals_not_used,
deprecated_function_calls, deprecated_functions
]}.
{xref_ignores, [grpc_health_pb,grpc_reflection_pb,
grpc_greeter_pb,grpc_route_guide_pb]}.
{dialyzer, [{plt_apps, all_deps}]}.
{profiles,
[{test,
[{cover_enabled, true},
{cover_opts, [verbose]},
{cover_excl_mods, [grpc_health_pb,grpc_health_v_1_health_client,
grpc_health_v_1_health_bhvr,
grpc_reflection_pb,
grpc_reflection_v_1alpha_server_reflection_client,
grpc_reflection_v_1alpha_server_reflection_bhvr,
grpc_route_guide_pb,routeguide_route_guide_bhvr,
routeguide_route_guide_client,
ct_greeter_pb,greeter_bhvr,greeter_client]},
{grpc,
[{type, all},
{protos, ["priv/", "test/"]},
{out_dir, "test/"},
{gpb_opts, [{module_name_prefix, "grpc_"},
{module_name_suffix, "_pb"}]}
]}
]}]}.