Rakefile in prawn-0.11.1 vs Rakefile in prawn-0.12.0
- old
+ new
@@ -32,21 +32,10 @@
"LICENSE",
"HACKING", "lib/" )
rdoc.main = "README"
rdoc.rdoc_dir = "doc/html"
rdoc.title = "Prawn Documentation"
-end
-
-desc "run all examples"
-task :examples do
- mkdir_p "output"
- examples = Dir["examples/**/*.rb"]
- t = Time.now
- puts "Running Examples"
- examples.each { |file| `ruby -Ilib #{file}` }
- puts "Ran in #{Time.now - t} s"
- `mv *.pdf output`
end
desc "Generate the 'Prawn by Example' manual"
task :manual do
puts "Building manual..."
@@ -58,6 +47,5 @@
spec = Gem::Specification.load "prawn.gemspec"
Rake::GemPackageTask.new(spec) do |pkg|
pkg.need_zip = true
pkg.need_tar = true
end
-