diff options
-rw-r--r-- | include/rebar.hrl | 4 | ||||
-rw-r--r-- | priv/templates/gitignore.dtl | 1 | ||||
-rw-r--r-- | src/rebar_plugins.erl | 2 |
3 files changed, 4 insertions, 3 deletions
diff --git a/include/rebar.hrl b/include/rebar.hrl index 8d21626..130182f 100644 --- a/include/rebar.hrl +++ b/include/rebar.hrl @@ -23,7 +23,7 @@ opts :: list()}). % The list of options that the task requires/understands -define(DEFAULT_LIB_DIRS, ["apps", "libs", "."]). --define(DEFAULT_DEPS_DIR, "deps"). --define(DEFAULT_PLUGINS_DIR, "plugins"). +-define(DEFAULT_DEPS_DIR, "_deps"). +-define(DEFAULT_PLUGINS_DIR, "_plugins"). -define(DEFAULT_CONFIG_FILE, "rebar.config"). -define(LOCK_FILE, "rebar.lock"). diff --git a/priv/templates/gitignore.dtl b/priv/templates/gitignore.dtl index 79ae0fb..0eb9ed8 100644 --- a/priv/templates/gitignore.dtl +++ b/priv/templates/gitignore.dtl @@ -1,3 +1,4 @@ +_* .eunit deps priv diff --git a/src/rebar_plugins.erl b/src/rebar_plugins.erl index 3e51f7f..d8422d8 100644 --- a/src/rebar_plugins.erl +++ b/src/rebar_plugins.erl @@ -12,7 +12,7 @@ %% =================================================================== install(State) -> - State1 = rebar_state:set(State, deps_dir, "plugins"), + State1 = rebar_state:set(State, deps_dir, ?DEFAULT_PLUGINS_DIR), Plugins = rebar_state:get(State1, plugins, []), {ok, State2} = rebar_prv_install_deps:handle_deps(State1, Plugins), |