summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTristan Sloughter <tristan.sloughter@gmail.com>2015-06-30 21:09:51 -0500
committerTristan Sloughter <tristan.sloughter@gmail.com>2015-06-30 21:09:51 -0500
commit3908c20aae55242e666f61fbbfd5985a4b69d824 (patch)
treece9b3213ecb47a2b4f12ffa3a8197953843ca9dc /src
parentc88a6d3f231c312ff317719bcdbcd55e188ce333 (diff)
parentf8728fea2d8d9d0b600fdda7c58bf04d8627e6a6 (diff)
Merge pull request #569 from garret-smith/app_src_script
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, []),