rebar/rebar.config.script
Tuncer Ayaz 8557f6c5bc Switch retest dep to upstream (dizzyd/retest.git)
Now that Dave has merged all patches, it's safe to switch back to
upstream retest.
2013-12-04 19:57:31 +01:00

20 lines
695 B
Erlang

%% -*- mode: erlang;erlang-indent-level: 4;indent-tabs-mode: nil -*-
%% ex: ts=4 sw=4 ft=erlang et
%% TODO: Change temporary retest fork back to dizzyd/retest after merge
%% ExtraDeps = [{retest, ".*", {git, "git://github.com/dizzyd/retest.git"}}],
ExtraDeps = [{retest, ".*",
{git, "git://github.com/dizzyd/retest.git"}}],
case os:getenv("REBAR_EXTRA_DEPS") of
false ->
CONFIG;
_ ->
case lists:keysearch(deps, 1, CONFIG) of
{value, {deps, Deps}} ->
NDeps = Deps ++ ExtraDeps,
lists:keyreplace(deps, 1, CONFIG, {deps, NDeps});
false ->
CONFIG ++ [{deps, ExtraDeps}]
end
end.