forked from basho/riak_core
-
Notifications
You must be signed in to change notification settings - Fork 23
/
Copy pathrebar.config
71 lines (64 loc) · 2.11 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
{erl_first_files, ["src/gen_nb_server.erl", "src/riak_core_gen_server.erl",
"src/riak_core_stat_xform"]}.
%{cover_enabled, true}.
{erl_opts, [warnings_as_errors,
{parse_transform, lager_transform},
debug_info]}.
{edoc_opts, [{preprocess, true}]}.
{eunit_opts, [verbose]}.
{xref_checks, []}.
{xref_queries, [{"(XC - UC) || (XU - X - B - \"(cluster_info|dtrace)\" : Mod)", []}]}.
{deps, [
%% Stuff we need to work with rebar3
{goldrush, "~>0.1.8"},
{cuttlefish, "~>2.1.4"},
{clique, "~>0.3.11"},
%% We now include folsom
folsom,
%% Normal deps
{lager, "~>3.6.0"},
{poolboy, "0.8.4", {pkg, basho_poolboy}},
{basho_stats, "~>1.0.3"},
{riak_sysmon, "~>2.1.7"},
{riak_ensemble, "~>2.4.3", {pkg, riak_ensemble_ng}},
{pbkdf2, "~>2.0.0"},
{blume, "~>0.1.0"},
{chash, "~>0.1.1"},
{eleveldb, "~>2.2.20"},
gen_fsm_compat,
{exometer_core, "~>1.0.0", {pkg, basho_exometer_core}}
]}.
{plugins, [{rebar_erl_vsn, "~>0.1.10"}]}.
{provider_hooks, [{pre, [
{compile, {default, erl_vsn}}
]}]}.
%%-------------------------------------------------------------------
%% Profiles
%%-------------------------------------------------------------------
{profiles,
[{test, [{erl_opts, [nowarn_export_all]},
{deps,
[{mustache, ".*", {git, "https://github.com/mojombo/mustache.erl.git", {tag, "v0.1.1"}}}]}]},
{docs, [{deps, [{edown, "0.7.0"}]}]},
{eqc, [{erl_opts, [nowarn_export_all, {d, 'EQC'}, {d, 'TEST'}]}, {deps, [meck]}, {plugins, [{rebar_eqc, "~>0.1.0"}]}]},
{prod, [{relx, [{dev_mode, false}]}]},
{lint,
[{plugins,
[{rebar3_lint,
{git, "https://github.com/project-fifo/rebar3_lint.git",
{tag, "0.1.4"}}}]}]}
]}.
{overrides,
[
%% Normal
{override, setup, [{post_hooks, []}]},
{override, eleveldb,
[{pre_hooks, [{compile, "c_src/build_deps.sh get-deps"},
{compile, "c_src/build_deps.sh"}]},
{post_hooks, [{clean, "c_src/build_deps.sh clean"}]},
{plugins,
[pc]},
{provider_hooks,
[{post,
[{compile, {pc, compile}},
{clean, {pc, clean}}]}]}]}]}.