summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGarret Smith <gsmith@synapsense.com>2015-06-30 13:06:09 -0700
committerGarret Smith <gsmith@synapsense.com>2015-06-30 13:06:09 -0700
commitf8728fea2d8d9d0b600fdda7c58bf04d8627e6a6 (patch)
treece9b3213ecb47a2b4f12ffa3a8197953843ca9dc /src
parentc88a6d3f231c312ff317719bcdbcd55e188ce333 (diff)
Read and process .app.src.script if present
Diffstat (limited to 'src')
-rw-r--r--src/rebar_app_discover.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rebar_app_discover.erl b/src/rebar_app_discover.erl
index 2eb9d91..9c4a5ff 100644
--- a/src/rebar_app_discover.erl
+++ b/src/rebar_app_discover.erl
@@ -139,7 +139,7 @@ app_dir(AppFile) ->
-spec create_app_info(file:name(), file:name()) -> rebar_app_info:t() | {error, term()}.
create_app_info(AppDir, AppFile) ->
- [{application, AppName, AppDetails}] = rebar_file_utils:try_consult(AppFile),
+ [{application, AppName, AppDetails}] = rebar_config:consult_app_file(AppFile),
AppVsn = proplists:get_value(vsn, AppDetails),
Applications = proplists:get_value(applications, AppDetails, []),
IncludedApplications = proplists:get_value(included_applications, AppDetails, []),