summaryrefslogtreecommitdiff
path: root/src/rebar_config.erl
diff options
context:
space:
mode:
Diffstat (limited to 'src/rebar_config.erl')
-rw-r--r--src/rebar_config.erl2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/rebar_config.erl b/src/rebar_config.erl
index 7efdf75..5008533 100644
--- a/src/rebar_config.erl
+++ b/src/rebar_config.erl
@@ -41,6 +41,7 @@
-record(config, { dir :: file:filename(),
opts = [] :: list(),
+ %% TODO: consider storing envs in xconf
envs = new_env() :: dict(),
%% cross-directory config
skip_dirs = new_skip_dirs() :: dict(),
@@ -170,6 +171,7 @@ erase_xconf(Config, Key) ->
reset_xconf(Config) ->
Config#config{xconf = new_xconf()}.
+%% TODO: reconsider after config inheritance removal/redesign
clean_config(Old, New) ->
New#config{opts=Old#config.opts}.