summaryrefslogtreecommitdiff
path: root/src/rebar_core.erl
diff options
context:
space:
mode:
authorTristan Sloughter <t@crashfast.com>2014-09-18 18:35:12 -0500
committerTristan Sloughter <t@crashfast.com>2014-09-18 18:35:12 -0500
commit73ee56eace71065ff7fa15f0106c2f559a6e632b (patch)
tree5d2864cdf48f65ff45edc276e2f209c5923dd1fb /src/rebar_core.erl
parent8de7a609ffbfa9e7d1539de3ad420413326b85c0 (diff)
add do task
Diffstat (limited to 'src/rebar_core.erl')
-rw-r--r--src/rebar_core.erl8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/rebar_core.erl b/src/rebar_core.erl
index 8732074..cb021e3 100644
--- a/src/rebar_core.erl
+++ b/src/rebar_core.erl
@@ -30,10 +30,6 @@
-include("rebar.hrl").
-%% ===================================================================
-%% Internal functions
-%% ===================================================================
-
process_command(State, Command) ->
true = rebar_utils:expand_code_path(),
LibDirs = rebar_state:get(State, lib_dirs, ?DEFAULT_LIB_DIRS),
@@ -50,6 +46,10 @@ process_command(State, Command) ->
Conf1
end, State, TargetProviders).
+%% ===================================================================
+%% Internal functions
+%% ===================================================================
+
update_code_path([]) ->
no_change;
update_code_path(Paths) ->