aboutsummaryrefslogtreecommitdiffstats
path: root/src/relx.erl
diff options
context:
space:
mode:
authorTristan Sloughter <[email protected]>2014-05-09 08:45:24 -0500
committerTristan Sloughter <[email protected]>2014-05-14 17:30:57 -0500
commitdd55959854069553b40f2bc2f2f7c5c7fc7c5a94 (patch)
tree967afbea1f132b9a962ea00f90b9680bc1f1e185 /src/relx.erl
parent7d3626779ce5716055b31eed76feb81a9fcb2210 (diff)
downloadrelx-dd55959854069553b40f2bc2f2f7c5c7fc7c5a94.tar.gz
relx-dd55959854069553b40f2bc2f2f7c5c7fc7c5a94.tar.bz2
relx-dd55959854069553b40f2bc2f2f7c5c7fc7c5a94.zip
refactor tar and relup commands to own providers
Diffstat (limited to 'src/relx.erl')
-rw-r--r--src/relx.erl4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/relx.erl b/src/relx.erl
index 79eeae2..769668a 100644
--- a/src/relx.erl
+++ b/src/relx.erl
@@ -118,7 +118,7 @@ do(RootDir, RelName, RelVsn, Goals, LibDirs, LogLevel, OutputDir, Configs) ->
-spec do(file:name(), atom(), string(), [goal()], [file:name()],
ec_cmd_log:log_level(), [file:name()], [{atom(), file:name()}], file:name() | undefined) ->
ok | error() | {ok, rlx_state:t()}.
-do(RootDir, RelName, RelVsn, Goals, LibDirs, LogLevel, OutputDir, Overrides, Config) ->
+do(RootDir, RelName, RelVsn, Goals, LibDirs, LogLevel, OutputDir, Overrides, Config) ->
do([{relname, RelName},
{relvsn, RelVsn},
{goals, Goals},
@@ -258,7 +258,7 @@ handle_output(_State, command_line, _) ->
handle_output(_State, api, Result) ->
Result.
-run_providers(ConfigProvider, Providers, State0) ->
+run_providers(ConfigProvider, Providers, State0) ->
case Providers of
[ConfigProvider | Rest] ->
%% IF the config provider is still the first provider do not run it