Sha256: 176473e015b79bec90d18aa2ac37fa0304070d6e1a49266517fa55c1d1461c49

Contents?: true

Size: 588 Bytes

Versions: 63

Compression:

Stored size: 588 Bytes

Contents

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

Version data entries

63 entries across 63 versions & 12 rubygems

Version Path
newplugin-0.0.3 generators/app/templates/Rakefile
ginst-2009.12.8 vendor/rails/railties/lib/rails_generator/generators/components/plugin/templates/Rakefile
newplugin-0.0.2 generators/app/templates/Rakefile
newplugin-0.0.1 generators/app/templates/Rakefile
rails-2.3.5 lib/rails_generator/generators/components/plugin/templates/Rakefile
ginst-2009.11.24 vendor/rails/railties/lib/rails_generator/generators/components/plugin/templates/Rakefile
ginst-2009.11.23 vendor/rails/railties/lib/rails_generator/generators/components/plugin/templates/Rakefile
ginst-2.0.1 vendor/rails/railties/lib/rails_generator/generators/components/plugin/templates/Rakefile
ginst-2.0.0 vendor/rails/railties/lib/rails_generator/generators/components/plugin/templates/Rakefile
gemstreamer-1.2.0 spec/assets/testapp/vendor/rails/railties/lib/rails_generator/generators/components/plugin/templates/Rakefile
gemstreamer-1.1.1 spec/assets/testapp/vendor/rails/railties/lib/rails_generator/generators/components/plugin/templates/Rakefile
gemstreamer-1.1.0 spec/assets/testapp/vendor/rails/railties/lib/rails_generator/generators/components/plugin/templates/Rakefile
gemstreamer-1.0.0 spec/assets/testapp/vendor/rails/railties/lib/rails_generator/generators/components/plugin/templates/Rakefile
gemstreamer-0.0.0 spec/assets/testapp/vendor/rails/railties/lib/rails_generator/generators/components/plugin/templates/Rakefile
radiant-rc-0.9.0 vendor/rails/railties/lib/rails_generator/generators/components/plugin/templates/Rakefile
rails-2.2.3 lib/rails_generator/generators/components/plugin/templates/Rakefile
webroar-0.2.2 src/admin_panel/vendor/rails/railties/lib/rails_generator/generators/components/plugin/templates/Rakefile
radiant-0.8.1 vendor/rails/railties/lib/rails_generator/generators/components/plugin/templates/Rakefile
rails-2.3.4 lib/rails_generator/generators/components/plugin/templates/Rakefile
rails-2.3.3 lib/rails_generator/generators/components/plugin/templates/Rakefile