Skip to content
This repository
Browse code

Remove rdoc task from generated plugin Rakefile

  • Loading branch information...
commit 5bf5688f51591efa838c1c3ab9ab91dd015ba68e 1 parent 259f384
Joshua Peek josh authored

Showing 1 changed file with 0 additions and 10 deletions. Show diff stats Hide diff stats

  1. +0 10 railties/lib/generators/rails/plugin/templates/Rakefile.tt
10 railties/lib/generators/rails/plugin/templates/Rakefile.tt
... ... @@ -1,6 +1,5 @@
1 1 require 'rake'
2 2 require 'rake/testtask'
3   -require 'rake/rdoctask'
4 3
5 4 desc 'Default: run unit tests.'
6 5 task :default => :test
@@ -11,12 +10,3 @@ Rake::TestTask.new(:test) do |t|
11 10 t.libs << 'test'
12 11 t.pattern = 'test/**/*_test.rb'
13 12 end
14   -
15   -desc 'Generate documentation for the <%= file_name %> plugin.'
16   -Rake::RDocTask.new(:rdoc) do |rdoc|
17   - rdoc.rdoc_dir = 'rdoc'
18   - rdoc.title = '<%= class_name %>'
19   - rdoc.options << '--line-numbers' << '--inline-source'
20   - rdoc.rdoc_files.include('README')
21   - rdoc.rdoc_files.include('lib/**/*.rb')
22   -end

0 comments on commit 5bf5688

Please sign in to comment.
Something went wrong with that request. Please try again.