소스 검색

Use root dir when loading relx.config

pull/2435/head
Hakan Nilsson 4 년 전
부모
커밋
7884a4b109
No known key found for this signature in database GPG 키 ID: 3F273821A0C8B845
1개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  1. +2
    -1
      src/rebar_relx.erl

+ 2
- 1
src/rebar_relx.erl 파일 보기

@ -75,7 +75,8 @@ read_relx_config(State, Options) ->
ConfigFile = proplists:get_value(config, Options, []),
case ConfigFile of
"" ->
case {rebar_state:get(State, relx, []), file:consult("relx.config")} of
ConfigPath = filename:join([rebar_dir:root_dir(State), "relx.config"]),
case {rebar_state:get(State, relx, []), file:consult(ConfigPath)} of
{[], {ok, Config}} ->
?DEBUG("Configuring releases with relx.config", []),
Config;

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