aboutsummaryrefslogtreecommitdiffstats
path: root/src/rlx_prv_config.erl
diff options
context:
space:
mode:
authorTristan Sloughter <[email protected]>2013-10-16 17:34:46 -0500
committerTristan Sloughter <[email protected]>2013-10-16 18:31:31 -0500
commit2e6c1d0f1e8e8e6dd913b8a500cf3388c96acd10 (patch)
tree764dd878ca301f6c93110aabd6baf559bff95046 /src/rlx_prv_config.erl
parentd6adddc25738be79c2663e410cc1ff45c14c23c7 (diff)
downloadrelx-2e6c1d0f1e8e8e6dd913b8a500cf3388c96acd10.tar.gz
relx-2e6c1d0f1e8e8e6dd913b8a500cf3388c96acd10.tar.bz2
relx-2e6c1d0f1e8e8e6dd913b8a500cf3388c96acd10.zip
add include_src option to config file, default true. This closes #15
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 5f6dcad..126b497 100644
--- a/src/rlx_prv_config.erl
+++ b/src/rlx_prv_config.erl
@@ -154,6 +154,8 @@ load_terms({overrides, Overrides0}, {ok, State0}) ->
{ok, rlx_state:overrides(State0, Overrides0)};
load_terms({dev_mode, DevMode}, {ok, State0}) ->
{ok, rlx_state:dev_mode(State0, DevMode)};
+load_terms({include_src, IncludeSrc}, {ok, State0}) ->
+ {ok, rlx_state:include_src(State0, IncludeSrc)};
load_terms({release, {RelName, Vsn}, Applications}, {ok, State0}) ->
Release0 = rlx_release:new(RelName, Vsn),
case rlx_release:goals(Release0, Applications) of