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