forked from basho/riak_repl
-
Notifications
You must be signed in to change notification settings - Fork 0
/
rebar.config
46 lines (33 loc) · 1.5 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/OpenRiak/ebloom.git", {branch, "openriak-3.2"}}},
{riak_kv, {git, "https://github.com/OpenRiak/riak_kv.git", {branch, "openriak-3.2"}}}
]}.
{plugins, [{rebar3_gpb_plugin, {git, "https://github.com/OpenRiak/rebar3_gpb_plugin", {branch, "openriak-3.2"}}},
{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}]}.