Skip to content

Commit

Permalink
Fix deprecated rake/rdoctask by rdoc/task
Browse files Browse the repository at this point in the history
  • Loading branch information
Intrepidd committed Mar 2, 2014
1 parent 4aea1d6 commit f5aa035
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Rakefile
@@ -1,7 +1,7 @@
require 'bundler'
Bundler::GemHelper.install_tasks
require "rspec/core/rake_task"
require 'rake/rdoctask'
require 'rdoc/task'

desc 'Default: run tests'
task :default => :spec
Expand All @@ -13,7 +13,7 @@ RSpec::Core::RakeTask.new(:spec) do |t|
end

desc 'Generate documentation for Footnotes.'
Rake::RDocTask.new(:rdoc) do |rdoc|
RDoc::Task.new(:rdoc) do |rdoc|
rdoc.rdoc_dir = 'rdoc'
rdoc.title = 'Footnotes'
rdoc.options << '--line-numbers' << '--inline-source'
Expand Down

0 comments on commit f5aa035

Please sign in to comment.