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.

10 line
372 B

  1. case erlang:function_exported(rebar3, main, 1) of
  2. true -> % rebar3
  3. CONFIG;
  4. false -> % rebar 2.x or older
  5. %% Rebuild deps, possibly including those that have been moved to
  6. %% profiles
  7. [{deps, [
  8. {goldrush, ".*", {git, "https://github.com/DeadZen/goldrush.git", {tag, "0.1.9"}}}
  9. ]} | lists:keydelete(deps, 1, CONFIG)]
  10. end.