mirror of
https://github.com/correl/rebar.git
synced 2024-12-18 03:00:17 +00:00
Add dynamic .script support for overlay vars file
This commit is contained in:
parent
7889cbe523
commit
9c7259d8a2
1 changed files with 1 additions and 1 deletions
|
@ -149,7 +149,7 @@ overlay_vars(Config, Vars0, ReltoolConfig) ->
|
||||||
load_vars_file(undefined) ->
|
load_vars_file(undefined) ->
|
||||||
dict:new();
|
dict:new();
|
||||||
load_vars_file(File) ->
|
load_vars_file(File) ->
|
||||||
case file:consult(File) of
|
case rebar_config:consult_file(File) of
|
||||||
{ok, Terms} ->
|
{ok, Terms} ->
|
||||||
dict:from_list(Terms);
|
dict:from_list(Terms);
|
||||||
{error, Reason} ->
|
{error, Reason} ->
|
||||||
|
|
Loading…
Reference in a new issue