aboutsummaryrefslogtreecommitdiffstats
path: root/src/rlx_release.erl
diff options
context:
space:
mode:
Diffstat (limited to 'src/rlx_release.erl')
-rw-r--r--src/rlx_release.erl7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/rlx_release.erl b/src/rlx_release.erl
index 5765079..f2a1c35 100644
--- a/src/rlx_release.erl
+++ b/src/rlx_release.erl
@@ -39,6 +39,7 @@
realized/1,
metadata/1,
start_clean_metadata/1,
+ no_dot_erlang_metadata/1,
canonical_name/1,
config/1,
config/2,
@@ -198,6 +199,12 @@ start_clean_metadata(#release_t{name=Name, vsn=Vsn, erts=ErtsVsn, applications=A
?RLX_ERROR({not_realized, Name, Vsn})
end.
+%% The no_dot_erlang.rel.src file is a literal copy of start_clean.rel.src
+%% in Erlang/OTP itself.
+-spec no_dot_erlang_metadata(t()) -> term().
+no_dot_erlang_metadata(T) ->
+ start_clean_metadata(T).
+
%% @doc produce the canonical name (<name>-<vsn>) for this release
-spec canonical_name(t()) -> string().
canonical_name(#release_t{name=Name, vsn=Vsn}) ->