소스 검색

Merge pull request #550 from tsloughter/master

expand plugins for profile after applying profiles
pull/503/merge
Fred Hebert 10 년 전
부모
커밋
e28ebaa957
1개의 변경된 파일3개의 추가작업 그리고 4개의 파일을 삭제
  1. +3
    -4
      src/rebar_prv_install_deps.erl

+ 3
- 4
src/rebar_prv_install_deps.erl 파일 보기

@ -386,10 +386,9 @@ handle_dep(State, Profile, DepsDir, AppInfo, Locks, Level) ->
S1 = rebar_state:new(S, C, rebar_app_info:dir(AppInfo)),
S2 = rebar_state:apply_overrides(S1, Name),
Plugins = rebar_state:get(S2, plugins, []),
S3 = rebar_state:set(S2, {plugins, Profile}, Plugins),
S4 = rebar_state:apply_profiles(S3, Profiles),
S3 = rebar_state:apply_profiles(S2, Profiles),
Plugins = rebar_state:get(S3, plugins, []),
S4 = rebar_state:set(S3, {plugins, Profile}, Plugins),
AppInfo1 = rebar_app_info:state(AppInfo, S4),
%% Dep may have plugins to install. Find and install here.

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