summaryrefslogtreecommitdiff
path: root/src/rebar_state.erl
diff options
context:
space:
mode:
authorTristan Sloughter <t@crashfast.com>2014-10-10 11:47:41 -0500
committerTristan Sloughter <t@crashfast.com>2014-10-10 11:47:41 -0500
commitb20680304d02a10babff15ff69a78a816077fa3c (patch)
treef90a4e8d4606622c42fb3c785142e7cf634935c6 /src/rebar_state.erl
parentfcf2c971568c67d91e822b1104bff697affd09df (diff)
split options up by task
Diffstat (limited to 'src/rebar_state.erl')
-rw-r--r--src/rebar_state.erl12
1 files changed, 9 insertions, 3 deletions
diff --git a/src/rebar_state.erl b/src/rebar_state.erl
index 14b55d2..20ec4a0 100644
--- a/src/rebar_state.erl
+++ b/src/rebar_state.erl
@@ -3,6 +3,7 @@
-export([new/0, new/1, new/2, new/3,
get/2, get/3, set/3,
command_args/1, command_args/2,
+ command_parsed_args/1, command_parsed_args/2,
dir/1, dir/2,
create_logic_providers/2,
@@ -23,15 +24,14 @@
opts = [],
command_args = [],
+ command_parsed_args = [],
src_deps = [],
src_apps = [],
pkg_deps = [],
project_apps = [],
- providers = [],
- hooks = []}).
-
+ providers = []}).
-export_type([t/0]).
@@ -83,6 +83,12 @@ command_args(#state_t{command_args=CmdArgs}) ->
command_args(State, CmdArgs) ->
State#state_t{command_args=CmdArgs}.
+command_parsed_args(#state_t{command_parsed_args=CmdArgs}) ->
+ CmdArgs.
+
+command_parsed_args(State, CmdArgs) ->
+ State#state_t{command_parsed_args=CmdArgs}.
+
dir(#state_t{dir=Dir}) ->
Dir.