aboutsummaryrefslogtreecommitdiffstats
path: root/src/rlx_prv_config.erl
diff options
context:
space:
mode:
authorOlav Frengstad <[email protected]>2013-06-20 09:53:23 +0200
committerOlav Frengstad <[email protected]>2013-06-20 10:04:53 +0200
commit5ed7ea3172170fa05ac806250f695834d5d6ae58 (patch)
tree0247674887803bb006fb2384c0bc4e98e4371e04 /src/rlx_prv_config.erl
parentc5f0a8c9175b2d152c69f72da15e7ceff411f86b (diff)
downloadrelx-5ed7ea3172170fa05ac806250f695834d5d6ae58.tar.gz
relx-5ed7ea3172170fa05ac806250f695834d5d6ae58.tar.bz2
relx-5ed7ea3172170fa05ac806250f695834d5d6ae58.zip
Add support for {vm_args,_} argument in config
Diffstat (limited to 'src/rlx_prv_config.erl')
-rw-r--r--src/rlx_prv_config.erl2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/rlx_prv_config.erl b/src/rlx_prv_config.erl
index 36a0527..bbdf6e6 100644
--- a/src/rlx_prv_config.erl
+++ b/src/rlx_prv_config.erl
@@ -165,6 +165,8 @@ load_terms({release, {RelName, Vsn}, {erts, ErtsVsn},
{ok, Release1} ->
{ok, rlx_state:add_configured_release(State, Release1)}
end;
+load_terms({vm_args, VmArgs}, {ok, State}) ->
+ {ok, rcl_state:vm_args(State, filename:absname(VmArgs))};
load_terms({sys_config, SysConfig}, {ok, State}) ->
{ok, rlx_state:sys_config(State, filename:absname(SysConfig))};
load_terms({Name, Value}, {ok, State})