summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTristan Sloughter <t@crashfast.com>2014-09-20 08:20:05 -0500
committerTristan Sloughter <t@crashfast.com>2014-09-20 08:20:05 -0500
commit989a1bfe8d991846f81331a94eb65ffc10883cf5 (patch)
tree5769cb49e761a4aad14a7215b5cfcd10f1517371 /src
parentf4f96a356fcefaa2ad388eb5469c7da901846f21 (diff)
add plugin template
Diffstat (limited to 'src')
-rw-r--r--src/rebar_core.erl3
-rw-r--r--src/rebar_templater.erl2
2 files changed, 4 insertions, 1 deletions
diff --git a/src/rebar_core.erl b/src/rebar_core.erl
index cb021e3..ce3816d 100644
--- a/src/rebar_core.erl
+++ b/src/rebar_core.erl
@@ -35,7 +35,8 @@ process_command(State, Command) ->
LibDirs = rebar_state:get(State, lib_dirs, ?DEFAULT_LIB_DIRS),
DepsDir = rebar_state:get(State, deps_dir, ?DEFAULT_DEPS_DIRS),
_UpdatedCodePaths = update_code_path([DepsDir | LibDirs]),
- rebar_prv_install_deps:setup_env(State),
+
+ %% ? rebar_prv_install_deps:setup_env(State),
TargetProviders = rebar_provider:get_target_providers(Command, State),
diff --git a/src/rebar_templater.erl b/src/rebar_templater.erl
index a795b66..048991b 100644
--- a/src/rebar_templater.erl
+++ b/src/rebar_templater.erl
@@ -47,6 +47,8 @@ new(app, DirName, State) ->
create1(State, DirName, "otp_app");
new(lib, DirName, State) ->
create1(State, DirName, "otp_lib");
+new(plugin, DirName, State) ->
+ create1(State, DirName, "plugin");
new(rel, DirName, State) ->
create1(State, DirName, "otp_rel").