You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

20 lines
703 B

  1. %% -*- mode: erlang;erlang-indent-level: 4;indent-tabs-mode: nil -*-
  2. %% ex: ts=4 sw=4 ft=erlang et
  3. %% TODO: Change temporary retest fork back to dizzyd/retest after merge
  4. %% ExtraDeps = [{retest, ".*", {git, "git://github.com/dizzyd/retest.git"}}],
  5. ExtraDeps = [{retest, ".*",
  6. {git, "git://github.com/tuncer/retest.git", "next"}}],
  7. case os:getenv("REBAR_EXTRA_DEPS") of
  8. false ->
  9. CONFIG;
  10. _ ->
  11. case lists:keysearch(deps, 1, CONFIG) of
  12. {value, {deps, Deps}} ->
  13. NDeps = Deps ++ ExtraDeps,
  14. lists:keyreplace(deps, 1, CONFIG, {deps, NDeps});
  15. false ->
  16. CONFIG ++ [{deps, ExtraDeps}]
  17. end
  18. end.