diff options
author | Joshua Peek <josh@joshpeek.com> | 2010-01-22 08:29:07 -0600 |
---|---|---|
committer | Joshua Peek <josh@joshpeek.com> | 2010-01-22 08:29:07 -0600 |
commit | 5bf5688f51591efa838c1c3ab9ab91dd015ba68e (patch) | |
tree | c8d1e658c04a851f3b7e0203d443068dfb34a0e0 /railties/lib/generators/rails/plugin | |
parent | 259f3846a91fcd1be7b71166b5ca219fad6802e0 (diff) | |
download | rails-5bf5688f51591efa838c1c3ab9ab91dd015ba68e.tar.gz rails-5bf5688f51591efa838c1c3ab9ab91dd015ba68e.tar.bz2 rails-5bf5688f51591efa838c1c3ab9ab91dd015ba68e.zip |
Remove rdoc task from generated plugin Rakefile
Diffstat (limited to 'railties/lib/generators/rails/plugin')
-rw-r--r-- | railties/lib/generators/rails/plugin/templates/Rakefile.tt | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/railties/lib/generators/rails/plugin/templates/Rakefile.tt b/railties/lib/generators/rails/plugin/templates/Rakefile.tt index 23c2245a41..85cf141ce9 100644 --- a/railties/lib/generators/rails/plugin/templates/Rakefile.tt +++ b/railties/lib/generators/rails/plugin/templates/Rakefile.tt @@ -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 |