Sha256: fd4ebc0d916ac792b0a119735ad34b4929854a4a8215fec24a0bda0aadae0e0e

Contents?: true

Size: 683 Bytes

Versions: 3

Compression:

Stored size: 683 Bytes

Contents

#!/usr/bin/env rake
begin
  require 'bundler/setup'
rescue LoadError
  puts 'You must `gem install bundler` and `bundle install` to run rake tasks'
end
begin
  require 'rdoc/task'
rescue LoadError
  require 'rdoc/rdoc'
  require 'rake/rdoctask'
  RDoc::Task = Rake::RDocTask
end

RDoc::Task.new(:rdoc) do |rdoc|
  rdoc.rdoc_dir = 'rdoc'
  rdoc.title    = '<%= camelized %>'
  rdoc.options << '--line-numbers' << '--inline-source'
  rdoc.rdoc_files.include('README.rdoc')
  rdoc.rdoc_files.include('lib/**/*.rb')
end

<% if full? && !options[:skip_active_record] -%>
APP_RAKEFILE = File.expand_path("../<%= dummy_path -%>/Rakefile", __FILE__)
load 'rails/tasks/engine.rake'
<% end %>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
railties-3.1.0.rc4 lib/rails/generators/rails/plugin_new/templates/Rakefile
railties-3.1.0.rc3 lib/rails/generators/rails/plugin_new/templates/Rakefile
railties-3.1.0.rc2 lib/rails/generators/rails/plugin_new/templates/Rakefile