aboutsummaryrefslogtreecommitdiffstats
path: root/src/rcl_prv_config.erl
diff options
context:
space:
mode:
authorEric <[email protected]>2012-11-21 14:32:50 -0500
committerJordan Wilberding <[email protected]>2012-11-21 16:44:04 -0700
commit15e39a9370ffa842e3ee64a8f7f1d64dd25b2130 (patch)
treec108843e51c7b1beb66317391355aea0cd31e138 /src/rcl_prv_config.erl
parent79ae49d3c415627ff8e399e78828f373f38ec27a (diff)
downloadrelx-15e39a9370ffa842e3ee64a8f7f1d64dd25b2130.tar.gz
relx-15e39a9370ffa842e3ee64a8f7f1d64dd25b2130.tar.bz2
relx-15e39a9370ffa842e3ee64a8f7f1d64dd25b2130.zip
support specifing overrides in the configuration
Signed-off-by: Jordan Wilberding <[email protected]>
Diffstat (limited to 'src/rcl_prv_config.erl')
-rw-r--r--src/rcl_prv_config.erl3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/rcl_prv_config.erl b/src/rcl_prv_config.erl
index 7a1cd19..ee1c770 100644
--- a/src/rcl_prv_config.erl
+++ b/src/rcl_prv_config.erl
@@ -82,7 +82,8 @@ load_terms({add_providers, Providers0}, {ok, State0}) ->
ExistingProviders = rcl_state:providers(State1),
{ok, rcl_state:providers(State1, ExistingProviders ++ Providers3)}
end;
-
+load_terms({overrides, Overrides0}, {ok, State0}) ->
+ {ok, rcl_state:overrides(State0, Overrides0)};
load_terms({release, {RelName, Vsn}, Applications}, {ok, State0}) ->
Release0 = rcl_release:new(RelName, Vsn),
case rcl_release:goals(Release0, Applications) of