diff options
author | Tristan Sloughter <t@crashfast.com> | 2014-11-08 10:03:23 -0600 |
---|---|---|
committer | Tristan Sloughter <t@crashfast.com> | 2014-11-08 10:03:23 -0600 |
commit | d8f3ea005a8901ce380affb266ae876f0f8995bc (patch) | |
tree | 38db65197cb67734488e3ff1520a3e6324a6769f /src | |
parent | 557de6f8b4dccbc3055b222ef5d7b193cec1742a (diff) |
add comment
Diffstat (limited to 'src')
-rw-r--r-- | src/rebar_plugins.erl | 1 | ||||
-rw-r--r-- | src/rebar_prv_test_deps.erl | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/src/rebar_plugins.erl b/src/rebar_plugins.erl index 1916c11..0c47525 100644 --- a/src/rebar_plugins.erl +++ b/src/rebar_plugins.erl @@ -12,6 +12,7 @@ %% =================================================================== install(State) -> + %% Set deps_dir to a different dir for plugin so they don't collide DepsDir = rebar_state:get(State, deps_dir, ?DEFAULT_DEPS_DIR), State1 = rebar_state:set(State, deps_dir, ?DEFAULT_PLUGINS_DIR), expand_plugins(?DEFAULT_PLUGINS_DIR), diff --git a/src/rebar_prv_test_deps.erl b/src/rebar_prv_test_deps.erl index c9cd127..c77f1c0 100644 --- a/src/rebar_prv_test_deps.erl +++ b/src/rebar_prv_test_deps.erl @@ -35,6 +35,7 @@ do(State) -> Names = [ec_cnv:to_binary(element(1, Dep)) || Dep <- TestDeps], ProjectApps1 = [rebar_app_info:deps(A, Names) || A <- ProjectApps], + %% Set deps_dir to a different dir for test deps so they don't collide TestDepsDir = rebar_state:get(State, test_deps_dir, ?DEFAULT_TEST_DEPS_DIR), DepsDir = rebar_state:get(State, deps_dir, ?DEFAULT_DEPS_DIR), State1 = rebar_state:set(State, deps_dir, TestDepsDir), |