Current section
Files
Jump to
Current section
Files
rebar.config.script
Config = case erlang:function_exported(rebar3, main, 1) of
true ->
CONFIG;
false ->
[{deps, [
{granderl, ".*",
{git, "https://github.com/tokenrove/granderl.git", {tag, "v0.1.5"}}},
{metal, ".*",
{git, "https://github.com/lpgauth/metal.git", {tag, "0.1.1"}}}
]} | lists:keydelete(deps, 1, CONFIG)]
end,
case os:getenv("TRAVIS") of
"true" ->
JobId = os:getenv("TRAVIS_JOB_ID"),
lists:keystore(coveralls_service_job_id, 1, Config, {coveralls_service_job_id, JobId});
_ ->
Config
end.