-
Notifications
You must be signed in to change notification settings - Fork 33
/
rebar.config
46 lines (33 loc) · 1.48 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
%%-*- mode: erlang -*-
{cover_enabled, true}.
{erl_opts, [debug_info,
warnings_as_errors,
{i, "./_build/default/plugins/gpb/include"},
{platform_define, "^[0-9]+", namespaced_types},
{platform_define, "^[2-9][1-9](.?[0-9]*)", otp21},
{platform_define, "^[2-9][2-9](.?[0-9]*)", otp22},
{platform_define, "^[2-9][5-9](.?[0-9]*)", otp25}]}.
{erl_first_files, ["src/gen_leader.erl"]}.
{xref_checks,[
undefined_function_calls,
undefined_functions]}.
{xref_queries, [{"(XC - UC) || (XU - X - B - cluster_info : Mod)", []}]}.
{eunit_opts, [verbose]}.
{deps, [
{ranch, {git, "https://github.com/ninenines/ranch.git", {tag, "1.8.0"}}},
{ebloom,{git, "https://github.com/basho/ebloom.git", {tag, "2.1.0"}}},
{riak_kv, {git, "https://github.com/basho/riak_kv.git", {branch, "develop"}}}
]}.
{plugins, [{rebar3_gpb_plugin, {git, "https://github.com/basho/rebar3_gpb_plugin", {tag, "2.15.1+riak.3.0.4"}}},
{eqc_rebar, {git, "https://github.com/Quviq/eqc-rebar", {branch, "master"}}}]}.
{gpb_opts, [{module_name_suffix, "_pb"},
{msg_name_to_lower, true},
{i, "src"}]}.
{provider_hooks, [{pre, [{compile, {protobuf, compile}}]}]}.
{dialyzer, [{plt_apps, all_deps}]}.
{profiles,
[{test, [{deps, [meck]}]},
{eqc, [{deps, [meck]}, {erl_opts, [{d, 'EQC'}]}]},
{gha, [{erl_opts, [{d, 'GITHUBEXCLUDE'}]}]}
]}.
{edoc_opts, [{preprocess, true}]}.