Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Remove rdoc task from generated plugin Rakefile

  • Loading branch information...
commit 5bf5688f51591efa838c1c3ab9ab91dd015ba68e 1 parent 259f384
Joshua Peek josh authored
Showing with 0 additions and 10 deletions.
  1. +0 −10 railties/lib/generators/rails/plugin/templates/Rakefile.tt
10 railties/lib/generators/rails/plugin/templates/Rakefile.tt
View
@@ -1,6 +1,5 @@
require 'rake'
require 'rake/testtask'
-require 'rake/rdoctask'
desc 'Default: run unit tests.'
task :default => :test
@@ -11,12 +10,3 @@ Rake::TestTask.new(:test) do |t|
t.libs << 'test'
t.pattern = 'test/**/*_test.rb'
end
-
-desc 'Generate documentation for the <%= file_name %> plugin.'
-Rake::RDocTask.new(:rdoc) do |rdoc|
- rdoc.rdoc_dir = 'rdoc'
- rdoc.title = '<%= class_name %>'
- rdoc.options << '--line-numbers' << '--inline-source'
- rdoc.rdoc_files.include('README')
- rdoc.rdoc_files.include('lib/**/*.rb')
-end
Please sign in to comment.
Something went wrong with that request. Please try again.