-
Notifications
You must be signed in to change notification settings - Fork 115
/
rebar.config
42 lines (32 loc) · 1.05 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
%% -*- mode: erlang -*-
{minimum_otp_vsn, "22.0"}.
{erl_opts, [
debug_info,
warnings_as_errors,
{platform_define, "^[0-9]+", namespaced_types},
{i, "./_build/default/plugins/gpb/include"}
]}.
{xref_checks, [
undefined_function_calls,
undefined_functions,
deprecated_function_calls,
deprecated_functions
]}.
{profiles, [
{gha, [{erl_opts, [{d, 'GITHUBEXCLUDE'}]}]}
]}.
{eunit_opts, [verbose]}.
{plugins, [{rebar3_gpb_plugin, {git, "https://github.com/basho/rebar3_gpb_plugin", {tag, "2.15.1+riak.3.0.4"}}},
{riak_pb_msgcodegen, {git, "https://github.com/basho/riak_pb_msgcodegen", {tag, "1.0.0"}}},
{eqc_rebar, {git, "https://github.com/Quviq/eqc-rebar", {branch, "master"}}}
]}.
{deps, []}.
{gpb_opts, [{module_name_suffix, "_pb"},
{msg_name_to_lower, true},
{defaults_for_omitted_optionals, true},
{i, "src"}]}.
{provider_hooks, [
{pre, [{compile, {protobuf, compile}},
{compile, riak_pb_msgcodegen}]}
]}.
{edoc_opts, [{preprocess, true}]}.