Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

executable file 21 lines (19 sloc) 0.369 kb
#!/usr/bin/env ruby
require 'yaml'
# This is very cheesy, and should only be called by the build script.
tree = YAML.load_file ARGV[0]
ARGV[1..-1].each do |n|
tree = tree[n]
end
case tree.class
when Array
tree.each do |n|
puts n unless n.nil?
end
when Hash
tree.each do |k,v|
puts "#{k}, #{v}" unless n.nil?
end
else
puts tree unless tree.nil?
end
Jump to Line
Something went wrong with that request. Please try again.