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.12 lib/rails/generators/rails/plugin/templates/Rakefile.tt
railties-3.1.11 lib/rails/generators/rails/plugin/templates/Rakefile.tt
railties-3.1.10 lib/rails/generators/rails/plugin/templates/Rakefile.tt
railties-3.1.9 lib/rails/generators/rails/plugin/templates/Rakefile.tt
railties-3.1.8 lib/rails/generators/rails/plugin/templates/Rakefile.tt
railties-3.1.7 lib/rails/generators/rails/plugin/templates/Rakefile.tt
railties-3.1.6 lib/rails/generators/rails/plugin/templates/Rakefile.tt
railties-3.1.5 lib/rails/generators/rails/plugin/templates/Rakefile.tt
railties-3.1.5.rc1 lib/rails/generators/rails/plugin/templates/Rakefile.tt
railties-3.1.4 lib/rails/generators/rails/plugin/templates/Rakefile.tt
railties-3.1.4.rc1 lib/rails/generators/rails/plugin/templates/Rakefile.tt
railties-3.1.3 lib/rails/generators/rails/plugin/templates/Rakefile.tt
railties-3.1.2 lib/rails/generators/rails/plugin/templates/Rakefile.tt
railties-3.1.2.rc2 lib/rails/generators/rails/plugin/templates/Rakefile.tt
railties-3.1.2.rc1 lib/rails/generators/rails/plugin/templates/Rakefile.tt
railties-3.1.1 lib/rails/generators/rails/plugin/templates/Rakefile.tt
railties-3.1.1.rc3 lib/rails/generators/rails/plugin/templates/Rakefile.tt
railties-3.1.1.rc2 lib/rails/generators/rails/plugin/templates/Rakefile.tt
railties-3.1.1.rc1 lib/rails/generators/rails/plugin/templates/Rakefile.tt
railties-3.1.0 lib/rails/generators/rails/plugin/templates/Rakefile.tt