소스 검색

handle global plugins installing plugins to build deps

pull/609/head
Tristan Sloughter 10 년 전
부모
커밋
a06a2f8917
1개의 변경된 파일7개의 추가작업 그리고 1개의 파일을 삭제
  1. +7
    -1
      src/rebar_state.erl

+ 7
- 1
src/rebar_state.erl 파일 보기

@ -289,7 +289,13 @@ apply_profiles(State, Profile) when not is_list(Profile) ->
apply_profiles(State, [default]) ->
State;
apply_profiles(State=#state_t{default = Defaults, current_profiles=CurrentProfiles}, Profiles) ->
AppliedProfiles = deduplicate(CurrentProfiles ++ Profiles),
AppliedProfiles = case Profiles of
[global | _] ->
Profiles;
_ ->
deduplicate(CurrentProfiles ++ Profiles)
end,
ConfigProfiles = rebar_state:get(State, profiles, []),
NewOpts =

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