浏览代码

Use root dir when loading relx.config

pull/2435/head
Hakan Nilsson 4 年前
父节点
当前提交
7884a4b109
找不到此签名对应的密钥 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;

正在加载...
取消
保存