mirror of
https://github.com/maddievision/Celestial.git
synced 2024-08-14 23:55:37 +00:00
Support glob
This commit is contained in:
parent
2e8d97a0da
commit
c91b1799cb
1 changed files with 4 additions and 4 deletions
|
@ -3,7 +3,7 @@ require 'ruby2d'
|
||||||
|
|
||||||
# fn = 'app/Content/Maps/1-ForsakenCity.bin'
|
# fn = 'app/Content/Maps/1-ForsakenCity.bin'
|
||||||
|
|
||||||
fn = ARGV[0]
|
ARGV.each do |fn|
|
||||||
|
a = CelesteMapReader.new(fn)
|
||||||
a = CelesteMapReader.new(fn)
|
File.open("#{File.basename(fn)}.xml", "wb") { |f| f.write a.root.inspect }
|
||||||
File.open("#{File.basename(fn)}.xml", "wb") { |f| f.write a.root.inspect }
|
end
|
||||||
|
|
Loading…
Reference in a new issue