forked from tsloughter/grpcbox
-
Notifications
You must be signed in to change notification settings - Fork 2
/
rebar.config
65 lines (49 loc) · 2.2 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
59
60
61
62
63
64
65
{erl_opts, [debug_info]}.
{deps, [
{throttle, "0.2.0", {pkg, lambda_throttle}},
{chatterbox, ".*", {git, "https://github.com/novalabsxyz/chatterbox", {branch, "master"}}},
ctx,
{acceptor_pool, {git, "https://github.com/novalabsxyz/acceptor_pool", {branch, "master"}}},
gproc
]}.
{grpc, [{protos, ["proto"]},
{service_modules, [{'grpc.health.v1.Health', "grpcbox_health"},
{'grpc.reflection.v1alpha.ServerReflection', "grpcbox_reflection"}]},
{gpb_opts, [{descriptor, true},
{module_name_prefix, "grpcbox_"},
{module_name_suffix, "_pb"}]}]}.
{profiles,
[{test, [{erl_opts, [nowarn_export_all]},
{shell, [{config, "config/test.config"}]},
{grpc, [{protos, "test/grpcbox_SUITE_data"},
{out_dir, "test"},
{gpb_opts, [{o, "test"},
{descriptor, true},
{module_name_suffix, "_pb"}]}]},
{deps, [opencensus, jsx]}]},
{interop, [{grpc, [{protos, "interop/proto"},
{out_dir, "interop/src"},
{gpb_opts, [{o, "interop/src"},
{descriptor, true},
{module_name_suffix, "_pb"}]}]},
{erl_opts, [{i, "interop/include"}]},
{extra_src_dirs, ["interop"]},
{ct_opts, [{config, "interop/config/sys.config"},
{dir, "interop/test"}]},
{shell, [{apps, [grpcbox]},
{config, "interop/config/sys.config"}]}]}
]}.
{shell, [{apps, [grpcbox]}]}.
{xref_checks, [undefined_function_calls, undefined_functions,
deprecated_function_calls, deprecated_functions]}.
{project_plugins, [covertool,
{grpcbox_plugin,
{git, "https://github.com/novalabsxyz/grpcbox_plugin.git",
{branch, "master"}}},
rebar3_lint]}.
{cover_enabled, true}.
{cover_opts, [verbose]}.
{cover_export_enabled, true}.
{covertool, [{coverdata_files, ["ct.coverdata"]}]}.
%% create junit xml for circleci
{ct_opts, [{ct_hooks, [cth_surefire]}]}.