소스 검색

Document rebar_config TODOs

pull/3/head
Tuncer Ayaz 13 년 전
부모
커밋
4fe3306d99
2개의 변경된 파일3개의 추가작업 그리고 0개의 파일을 삭제
  1. +2
    -0
      src/rebar_config.erl
  2. +1
    -0
      src/rebar_core.erl

+ 2
- 0
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}.

+ 1
- 0
src/rebar_core.erl 파일 보기

@ -68,6 +68,7 @@ process_commands([Command | Rest], ParentConfig) ->
_ ->
ok
end,
%% TODO: reconsider after config inheritance removal/redesign
ParentConfig3 = rebar_config:clean_config(ParentConfig1, ParentConfig2),
%% Wipe out vsn cache to avoid invalid hits when
%% dependencies are updated

불러오는 중...
취소
저장