blob: a705b7b78771476e6da146e73aba8ad8674c5443 [file] [log] [blame]
%% -*- erlang -*-
IsRebar3 = erlang:function_exported(rebar3, main, 1),
Rebar2Deps =
[
{local, ".*", {git, "https://github.com/apache/couchdb-local.git", {tag, "0.2.1"}}},
{passage, ".*", {git, "https://github.com/apache/couchdb-passage.git", {tag, "CouchDB-0.2.6-1"}}},
{thrift_protocol, ".*", {git, "https://github.com/apache/couchdb-thrift-protocol.git", {tag, "0.1.5"}}}
],
case IsRebar3 of
true -> CONFIG;
false -> lists:keyreplace(deps, 1, CONFIG, {deps, Rebar2Deps})
end.