diff options
Diffstat (limited to 'rebar.config.script')
-rw-r--r-- | rebar.config.script | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/rebar.config.script b/rebar.config.script deleted file mode 100644 index 6735645..0000000 --- a/rebar.config.script +++ /dev/null @@ -1,17 +0,0 @@ -%% -*- mode: erlang;erlang-indent-level: 4;indent-tabs-mode: nil -*- -%% ex: ts=4 sw=4 ft=erlang et - -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. |