summaryrefslogtreecommitdiff
path: root/src/rebar3.erl
diff options
context:
space:
mode:
authorTristan Sloughter <tristan.sloughter@gmail.com>2014-12-21 14:30:00 -0600
committerTristan Sloughter <tristan.sloughter@gmail.com>2014-12-21 14:30:00 -0600
commit3aeb76c10b7f9311b4070d473f39032996170145 (patch)
tree3cdd87e1e733d8e0b87f99456b90b3c58872d473 /src/rebar3.erl
parent2f5d54aacb7d7183de4e04c184d26dc1ac709368 (diff)
parent54a41ca6c4fb819aa5adf4883f51d0c785a56be3 (diff)
Merge pull request #70 from rebar/provider-namespaces
Provider namespaces
Diffstat (limited to 'src/rebar3.erl')
-rw-r--r--src/rebar3.erl6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/rebar3.erl b/src/rebar3.erl
index b325dc8..d4307f7 100644
--- a/src/rebar3.erl
+++ b/src/rebar3.erl
@@ -71,10 +71,10 @@ main(Args) ->
end.
%% Erlang-API entry point
-run(BaseState, Command) ->
+run(BaseState, Commands) ->
_ = application:load(rebar),
- BaseState1 = rebar_state:set(BaseState, task, Command),
- run_aux(BaseState1, [], [Command]).
+ BaseState1 = rebar_state:set(BaseState, task, Commands),
+ run_aux(BaseState1, [], Commands).
%% ====================================================================
%% Internal functions