diff options
author | Heinz N. Gies <heinz@licenser.net> | 2016-02-08 11:15:59 -0500 |
---|---|---|
committer | Heinz N. Gies <heinz@licenser.net> | 2016-02-08 11:15:59 -0500 |
commit | 2f563041cb248ba0cac27b92da5dcc3e7be27f80 (patch) | |
tree | e27ecaf59cfeb0e6406f1f4ce753842ff52855d5 /src/rebar_app_info.erl | |
parent | 91c47db27a3c63fc04940c7c72433062dbadf042 (diff) | |
parent | 7fab47dfa05754242790a748bbd303ffe9703e5c (diff) |
Merge master
Diffstat (limited to 'src/rebar_app_info.erl')
-rw-r--r-- | src/rebar_app_info.erl | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/rebar_app_info.erl b/src/rebar_app_info.erl index 95b4624..9fee4e0 100644 --- a/src/rebar_app_info.erl +++ b/src/rebar_app_info.erl @@ -23,6 +23,7 @@ original_vsn/1, original_vsn/2, ebin_dir/1, + priv_dir/1, applications/1, applications/2, profiles/1, @@ -361,6 +362,10 @@ out_dir(AppInfo=#app_info_t{}, OutDir) -> ebin_dir(#app_info_t{out_dir=OutDir}) -> ec_cnv:to_list(filename:join(OutDir, "ebin")). +-spec priv_dir(t()) -> file:name(). +priv_dir(#app_info_t{out_dir=OutDir}) -> + ec_cnv:to_list(filename:join(OutDir, "priv")). + -spec resource_type(t(), pkg | src) -> t(). resource_type(AppInfo=#app_info_t{}, Type) -> AppInfo#app_info_t{resource_type=Type}. |