-
Notifications
You must be signed in to change notification settings - Fork 22
/
Copy pathrebar.config
64 lines (55 loc) · 1.24 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
{erl_opts, [{i, "./_build/default/plugins/gpb/include"}]}.
{deps, [
{gun, "2.1.0"}
]}.
{gpb_opts, [
{recursive, false},
{i, "priv/protos"},
{ipath, "_build/default/plugins/gpb/priv/proto3/"},
use_packages,
{module_name_suffix, "_pb"},
{o_erl, "src/protos"},
{o_hrl, "include"},
{strings_as_binaries, true},
maps,
{maps_unset_optional, omitted},
type_specs]}.
{provider_hooks, [
{pre, [
{compile, {protobuf, compile}},
{clean, {protobuf, clean}}
]}
]}.
{plugins, [
{rebar3_gpb_plugin, "2.23.2"},
{rebar3_eetcd_plugin, "0.3.2"}
]}.
{project_plugins, [
{gradualizer, {git, "https://github.com/josefs/Gradualizer.git", {branch, "master"}}}
]}.
{dialyzer, [
{plt_extra_apps, [ssl, public_key]}
]}.
{gradualizer_opts, [
{include, ["include"]},
%% Use exclude_modules instead of exclude, See:
%% https://github.com/josefs/Gradualizer/issues/483
{exclude_modules, [
]},
{color, always}
]}.
{xref_checks, [
undefined_function_calls,
undefined_functions,
locals_not_used,
deprecated_function_calls,
warnings_as_errors,
deprecated_functions
]}.
{xref_ignores, [
auth_pb,
gogo_pb,
health_pb,
kv_pb,
router_pb
]}.