diff options
author | Mikel Lindsaar <raasdnil@gmail.com> | 2010-01-23 19:45:25 +1100 |
---|---|---|
committer | Mikel Lindsaar <raasdnil@gmail.com> | 2010-01-23 19:45:25 +1100 |
commit | 1ea84c38ea5b40642f3dcdb5ffca1c6fc9cc604d (patch) | |
tree | 750e10199be244bb5676ea615dbf49dee38b7fd4 /railties/lib/generators/rails/plugin/templates/Rakefile.tt | |
parent | bd24c75fc619fa80af03662cc4dd18fc9b70cafb (diff) | |
parent | 8ff2fb6f3aa6140f5a8bd018d5919a8a1e707cda (diff) | |
download | rails-1ea84c38ea5b40642f3dcdb5ffca1c6fc9cc604d.tar.gz rails-1ea84c38ea5b40642f3dcdb5ffca1c6fc9cc604d.tar.bz2 rails-1ea84c38ea5b40642f3dcdb5ffca1c6fc9cc604d.zip |
Merge branch 'master' of git://github.com/rails/rails
Diffstat (limited to 'railties/lib/generators/rails/plugin/templates/Rakefile.tt')
-rw-r--r-- | railties/lib/generators/rails/plugin/templates/Rakefile.tt | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/railties/lib/generators/rails/plugin/templates/Rakefile.tt b/railties/lib/generators/rails/plugin/templates/Rakefile.tt index 23c2245a41..e94c0bfc77 100644 --- a/railties/lib/generators/rails/plugin/templates/Rakefile.tt +++ b/railties/lib/generators/rails/plugin/templates/Rakefile.tt @@ -1,22 +1,10 @@ -require 'rake' require 'rake/testtask' -require 'rake/rdoctask' desc 'Default: run unit tests.' task :default => :test desc 'Test the <%= file_name %> plugin.' Rake::TestTask.new(:test) do |t| - t.libs << 'lib' 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 |