-
Notifications
You must be signed in to change notification settings - Fork 62
/
rebar.config
83 lines (60 loc) · 2.78 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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
{erl_opts, [debug_info]}.
{deps, [{chatterbox, {pkg, ts_chatterbox}},
ctx,
acceptor_pool,
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"}]}]},
{overrides, [{override, opencensus, [{erl_opts, []}]}]},
{deps, [opencensus, jsx]}]},
{interop, [{deps, [recon]},
{grpc, [{protos, "interop/proto"},
{out_dir, "interop/src"},
{gpb_opts, [{o, "interop/src"},
{descriptor, true},
{module_name_suffix, "_pb"}]}]},
{relx, [{release, {grpc_interop, "0.1.0"}, [grpcbox]},
{sys_config, "interop/config/sys.config"}]},
{erl_opts, [{i, "interop/include"}]},
%% use src_dirs so the modules are in the release for testing
{src_dirs, ["src", "interop"]},
{ct_opts, [{config, "interop/config/sys.config"},
{dir, "interop/test"}]},
{shell, [{apps, [grpcbox]},
{config, "interop/config/sys.config"}]}]},
{benchmark, [{grpc, [{protos, "benchmark/proto"},
{out_dir, "benchmark/src"},
{gpb_opts, [{o, "benchmark/src"},
{descriptor, true},
{module_name_suffix, "_pb"}]}]},
{extra_src_dirs, ["benchmark"]},
{ct_opts, [{config, "benchmark/config/test.config"},
{dir, "benchmark/test"}]},
{shell, [{apps, [grpcbox]},
{config, "benchmark/config/sys.config"}]}]}
]}.
{shell, [{apps, [grpcbox]}]}.
{xref_checks, [undefined_function_calls, undefined_functions,
deprecated_function_calls, deprecated_functions]}.
{project_plugins, [covertool,
{grpcbox_plugin, "~> 0.9.0"},
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]}]}.
{dialyzer, [{warnings, [no_unknown]}]}.