diff options
author | Jordan Wilberding <[email protected]> | 2013-09-16 10:30:15 -0700 |
---|---|---|
committer | Jordan Wilberding <[email protected]> | 2013-09-16 10:30:15 -0700 |
commit | 47d157ee780c9c8fde1fc66ebc769ac7c10f0521 (patch) | |
tree | 533ba1b9ee980a664aaad19e3b6c6d15176a4cce /src/rlx_release.erl | |
parent | 55f0f5aa4c25d21171113a75f91a37d12a4c78ee (diff) | |
parent | 26d1d19cc204d3ba63037b703f1b040a960d9725 (diff) | |
download | relx-47d157ee780c9c8fde1fc66ebc769ac7c10f0521.tar.gz relx-47d157ee780c9c8fde1fc66ebc769ac7c10f0521.tar.bz2 relx-47d157ee780c9c8fde1fc66ebc769ac7c10f0521.zip |
Misc fixes, log improvements and README improvements
Diffstat (limited to 'src/rlx_release.erl')
-rw-r--r-- | src/rlx_release.erl | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/rlx_release.erl b/src/rlx_release.erl index 68193fa..471a6f7 100644 --- a/src/rlx_release.erl +++ b/src/rlx_release.erl @@ -196,14 +196,14 @@ format(Indent, #release_t{name=Name, vsn=Vsn, erts=ErtsVsn, realized=Realized, goals = Goals, applications=Apps}) -> BaseIndent = rlx_util:indent(Indent), [BaseIndent, "release: ", rlx_util:to_string(Name), "-", Vsn, "\n", - rlx_util:indent(Indent + 1), " erts-", ErtsVsn, + rlx_util:indent(Indent + 2), " erts-", ErtsVsn, ", realized = ", erlang:atom_to_list(Realized), "\n", - BaseIndent, "goals: \n", - [[rlx_util:indent(Indent + 1), format_goal(Goal), ",\n"] || Goal <- Goals], + rlx_util:indent(Indent + 1), "goals: \n", + [[rlx_util:indent(Indent + 2), format_goal(Goal), ",\n"] || Goal <- Goals], case Realized of true -> - [BaseIndent, "applications: \n", - [[rlx_util:indent(Indent + 1), io_lib:format("~p", [App]), ",\n"] || + [rlx_util:indent(Indent + 1), "applications: \n", + [[rlx_util:indent(Indent + 2), io_lib:format("~p", [App]), ",\n"] || App <- Apps]]; false -> [] |