Current section
Files
Jump to
Current section
Files
rebar.config.script
IsRebar3 = erlang:function_exported(rebar3, main, 1),
Rebar2Deps = [
{lager, ".*", {git, "https://github.com/erlang-lager/lager.git", {tag, "3.6.7"}}},
{jsone, ".*", {git, "https://github.com/sile/jsone.git", {tag, "1.4.7"}}},
{esq, ".*", {git, "https://github.com/fogfish/esq.git", {tag, "2.0.4"}}}
],
case IsRebar3 of
true ->
CONFIG;
false ->
lists:keyreplace(deps, 1, CONFIG, {deps, Rebar2Deps})
end.