Rakefile in tracksperanto-3.3.12 vs Rakefile in tracksperanto-3.3.13
- old
+ new
@@ -36,30 +36,33 @@
# Automatically update the supported format list
after :test do
formats = StringIO.new
formats.puts(" ")
- formats.puts('=== Formats Tracksperanto can read')
formats.puts(" ")
+ formats.puts('### Formats Tracksperanto can read')
+ formats.puts(" ")
Tracksperanto.importers.each do | import_mdoule |
formats.puts("* %s" % import_mdoule.human_name)
end
formats.puts(" ")
- formats.puts('=== Formats Tracksperanto can export to')
+ formats.puts('### Formats Tracksperanto can export to')
formats.puts(" ")
Tracksperanto.exporters.each do | export_module |
formats.puts("* %s" % export_module.human_name)
end
+ formats.puts(" ")
- readme_text = File.read(File.dirname(__FILE__) + "/README.rdoc")
+ readme_text = File.read(File.dirname(__FILE__) + "/README.md")
three = readme_text.split('---')
raise "Should split in 3" unless three.length == 3
three[1] = formats.string
- File.open(File.dirname(__FILE__) + "/README.rdoc", "w") do | f |
+ File.open(File.dirname(__FILE__) + "/README.md", "w") do | f |
f.write(three.join('---'))
end
+
end
task :default => [ :test ]