summaryrefslogtreecommitdiff
path: root/src/rebar_app_info.erl
diff options
context:
space:
mode:
Diffstat (limited to 'src/rebar_app_info.erl')
-rw-r--r--src/rebar_app_info.erl11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/rebar_app_info.erl b/src/rebar_app_info.erl
index 47dfcad..f790cd3 100644
--- a/src/rebar_app_info.erl
+++ b/src/rebar_app_info.erl
@@ -18,6 +18,8 @@
original_vsn/1,
original_vsn/2,
ebin_dir/1,
+ applications/1,
+ applications/2,
deps/1,
deps/2,
dep_level/1,
@@ -37,6 +39,7 @@
config :: rebar_state:t() | undefined,
original_vsn :: binary() | string() | undefined,
app_details=[] :: list(),
+ applications=[] :: list(),
deps=[] :: list(),
dep_level=0 :: integer(),
dir :: file:name(),
@@ -155,6 +158,14 @@ original_vsn(#app_info_t{original_vsn=Vsn}) ->
original_vsn(AppInfo=#app_info_t{}, Vsn) ->
AppInfo#app_info_t{original_vsn=Vsn}.
+-spec applications(t()) -> list().
+applications(#app_info_t{applications=Applications}) ->
+ Applications.
+
+-spec applications(t(), list()) -> t().
+applications(AppInfo=#app_info_t{}, Applications) ->
+ AppInfo#app_info_t{applications=Applications}.
+
-spec deps(t()) -> list().
deps(#app_info_t{deps=Deps}) ->
Deps.