Commit ed808df6 by Daniel Mendler

update rakefile

parent 6986f0cf
......@@ -6,13 +6,8 @@ task :test => FileList['test/*_test.rb'] do |t|
end
desc 'Generate mime tables'
task :tables => 'lib/mimemagic_tables.rb'
file 'lib/mimemagic_tables.rb' => FileList['script/freedesktop.org.xml'] do |f|
task :tables => 'lib/mimemagic/tables.rb'
file 'lib/mimemagic/tables.rb' => FileList['script/freedesktop.org.xml'] do |f|
sh "script/generate-mime.rb #{f.prerequisites.join(' ')} > #{f.name}"
end
desc 'Generate documentation'
task :doc => 'doc/api/index.html'
file 'doc/api/index.html' => FileList['**/*.rb'] do |f|
sh "rdoc -o doc/api --title 'Git-Wiki Documentation' --inline-source --format=html #{f.prerequisites.join(' ')}"
end
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment