Procházet zdrojové kódy

Use root dir when loading relx.config

pull/2435/head
Hakan Nilsson před 4 roky
rodič
revize
7884a4b109
V databázi nebyl nalezen žádný známý klíč pro tento podpis ID GPG klíče: 3F273821A0C8B845
1 změnil soubory, kde provedl 2 přidání a 1 odebrání
  1. +2
    -1
      src/rebar_relx.erl

+ 2
- 1
src/rebar_relx.erl Zobrazit soubor

@ -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;

Načítá se…
Zrušit
Uložit