Skip to content

Commit

Permalink
Remove deprecated 'rake/rdoctask', replace with new invocation.
Browse files Browse the repository at this point in the history
  • Loading branch information
mipearson committed Dec 16, 2012
1 parent 6f33726 commit 34f196d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Rakefile
Original file line number Original file line Diff line number Diff line change
@@ -1,5 +1,5 @@
# Rakefile for Rack::Contrib. -*-ruby-*- # Rakefile for Rack::Contrib. -*-ruby-*-
require 'rake/rdoctask' require 'rdoc/task'
require 'rake/testtask' require 'rake/testtask'


desc "Run all the tests" desc "Run all the tests"
Expand All @@ -26,7 +26,7 @@ task :fulltest do
end end


desc "Generate RDoc documentation" desc "Generate RDoc documentation"
Rake::RDocTask.new(:rdoc) do |rdoc| RDoc::Task.new(:rdoc) do |rdoc|
rdoc.options << '--line-numbers' << '--inline-source' << rdoc.options << '--line-numbers' << '--inline-source' <<
'--main' << 'README' << '--main' << 'README' <<
'--title' << 'Rack Contrib Documentation' << '--title' << 'Rack Contrib Documentation' <<
Expand Down

0 comments on commit 34f196d

Please sign in to comment.