Skip to content

Commit 8cd7304

Browse files
committed
updated rebar.config for OTP-20 and rebar3
1 parent ac26c7d commit 8cd7304

File tree

1 file changed

+20
-13
lines changed

1 file changed

+20
-13
lines changed

rebar.config

Lines changed: 20 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,36 @@
11
%% -*- mode: erlang;erlang-indent-level: 4;indent-tabs-mode: nil -*-
22
{sub_dirs, ["rel", "apps/riak"]}.
33

4-
{require_otp_vsn, "R16|17"}.
54
{cover_enabled, true}.
65

76
{lib_dirs, ["apps/riak"]}.
87

9-
{erl_opts, [debug_info, fail_on_warning]}.
8+
%% TODO: Disable warnings for now.
9+
%% TODO: nowarn_export_all on for now.
10+
{erl_opts, [nowarn_export_all,
11+
debug_info %% , fail_on_warning
12+
]}.
1013
{eunit_opts, [verbose]}.
1114

1215
{erlydtl_opts, [
1316
{compiler_options, [report, return, debug_info]}
1417
]}.
1518

1619
{deps, [
17-
{node_package, ".*", {git, "https://github.com/basho/node_package.git", {tag, "4.0.2"}}},
20+
%% New deps, pinning for up-front compilation issues.
21+
{poolboy, ".*", {git, "https://github.com/Kyorai/poolboy.git", {branch, "r21"}}},
22+
23+
%% Standard top-level Riak dependencies.
1824
{lager_syslog, ".*", {git, "git://github.com/basho/lager_syslog.git", {tag, "3.0.3"}}},
19-
{cluster_info, ".*", {git, "git://github.com/basho/cluster_info.git", {tag, "2.0.5"}}},
20-
{riak_kv, ".*", {git, "git://github.com/basho/riak_kv.git", {tag, "2.1.7-226"}}},
21-
{riak_control, ".*", {git, "git://github.com/basho/riak_control.git", {tag, "2.1.6-225"}}},
22-
{riaknostic, ".*", {git, "git://github.com/basho/riaknostic.git", {tag, "2.1.7"}}},
23-
{yokozuna, ".*", {git, "git://github.com/basho/yokozuna.git", {tag, "2.1.10-226"}}},
24-
{riak_auth_mods, ".*", {git, "git://github.com/basho/riak_auth_mods.git", {tag, "2.1.0"}}},
25-
{riak_repl, ".*", {git, "git://github.com/basho/riak_repl.git", {tag, "2.1.8-226"}}},
26-
{rebar_lock_deps_plugin, ".*", {git, "https://github.com/basho/rebar_lock_deps_plugin.git", {tag, "3.1.0p1"}}}
27-
]}.
25+
{cluster_info, ".*", {git, "git://github.com/basho/cluster_info.git", {branch, "develop-3.0"}}},
26+
{riak_auth_mods, ".*", {git, "git://github.com/basho/riak_auth_mods.git", {branch, "develop-3.0"}}},
27+
{riak_repl, ".*", {git, "git://github.com/basho/riak_repl.git", {branch, "develop-3.0"}}},
28+
{riak_kv, ".*", {git, "git://github.com/basho/riak_kv.git", {branch, "develop-3.0"}}}
2829

29-
{plugins, [rebar_lock_deps_plugin]}.
30+
%% Cut dependencies.
31+
%% {node_package, ".*", {git, "https://github.com/basho/node_package.git", {tag, "4.0.2"}}},
32+
%% {rebar_lock_deps_plugin, ".*", {git, "https://github.com/basho/rebar_lock_deps_plugin.git", {tag, "3.1.0p1"}}}
33+
%% {yokozuna, ".*", {git, "git://github.com/basho/yokozuna.git", {tag, "2.1.10-226"}}},
34+
%% {riak_control, ".*", {git, "git://github.com/basho/riak_control.git", {tag, "2.1.6-225"}}},
35+
%% {riaknostic, ".*", {git, "git://github.com/basho/riaknostic.git", {tag, "2.1.7"}}},
36+
]}.

0 commit comments

Comments
 (0)