Skip to content

Commit

Permalink
Dump also the dependencies, they might be useful when adding manually
Browse files Browse the repository at this point in the history
  • Loading branch information
lslezak committed Nov 28, 2017
1 parent 6e8ce02 commit 6905229
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions devel/dump_ay_addons.rb
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,11 @@
def dump_addon(a)
prefix = " " * INDENT_WIDTH

ret = prefix + "<!-- #{a.name} -->\n" +
prefix + "<name>#{a.identifier}</name>\n" +
ret = prefix + "<!-- #{a.name} -->\n"

ret += prefix + "<!-- Depends on: #{a.depends_on.name} -->\n" if a.depends_on

ret += prefix + "<name>#{a.identifier}</name>\n" +
prefix + "<version>#{a.version}</version>\n" +
prefix + "<arch>#{a.arch}</arch>\n"

Expand Down

0 comments on commit 6905229

Please sign in to comment.