Sha256: 809e61b00111d53f51c6c05ae5e026b1b0ed9b887fffd034f1a6b381673083d4

Contents?: true

Size: 585 Bytes

Versions: 26

Compression:

Stored size: 585 Bytes

Contents

#!/usr/bin/env rake
require 'rake/testtask'
require 'rdoc/task'

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'
  t.verbose = true
end

desc 'Generate documentation for the <%= file_name %> plugin.'
RDoc::Task.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

Version data entries

26 entries across 26 versions & 1 rubygems

Version Path
railties-3.1.0.rc8 lib/rails/generators/rails/plugin/templates/Rakefile.tt
railties-3.1.0.rc6 lib/rails/generators/rails/plugin/templates/Rakefile.tt
railties-3.1.0.rc5 lib/rails/generators/rails/plugin/templates/Rakefile.tt
railties-3.1.0.rc4 lib/rails/generators/rails/plugin/templates/Rakefile.tt
railties-3.1.0.rc3 lib/rails/generators/rails/plugin/templates/Rakefile.tt
railties-3.1.0.rc2 lib/rails/generators/rails/plugin/templates/Rakefile.tt