aboutsummaryrefslogtreecommitdiffstats
path: root/src/rlx_config.erl
diff options
context:
space:
mode:
authorJordan Wilberding <[email protected]>2014-11-06 14:41:25 -0800
committerJordan Wilberding <[email protected]>2014-11-06 14:41:25 -0800
commit638309914dd34e0ae3936fb4ed0cd4a2663ebde0 (patch)
treef0ad5f73fa83056f957969f0b2293c88c007910e /src/rlx_config.erl
parentc603adf0a9e4b836c111a018bd5820d41c0a4e60 (diff)
parent9b066cc53e342f3928dfb01a3511e3869b18e2c0 (diff)
downloadrelx-638309914dd34e0ae3936fb4ed0cd4a2663ebde0.tar.gz
relx-638309914dd34e0ae3936fb4ed0cd4a2663ebde0.tar.bz2
relx-638309914dd34e0ae3936fb4ed0cd4a2663ebde0.zip
Merge pull request #259 from tsloughter/debug_info
add option to strip debug_info from beam files if not dev_mode
Diffstat (limited to 'src/rlx_config.erl')
-rw-r--r--src/rlx_config.erl2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/rlx_config.erl b/src/rlx_config.erl
index 307d2b6..1a78c6c 100644
--- a/src/rlx_config.erl
+++ b/src/rlx_config.erl
@@ -162,6 +162,8 @@ load_terms({add_providers, Providers0}, {ok, State0}) ->
end;
load_terms({skip_apps, SkipApps0}, {ok, State0}) ->
{ok, rlx_state:skip_apps(State0, SkipApps0)};
+load_terms({debug_info, DebugInfo}, {ok, State0}) ->
+ {ok, rlx_state:debug_info(State0, DebugInfo)};
load_terms({overrides, Overrides0}, {ok, State0}) ->
{ok, rlx_state:overrides(State0, Overrides0)};
load_terms({dev_mode, DevMode}, {ok, State0}) ->