diff options
author | Xavier Noria <fxn@hashref.com> | 2010-08-20 13:30:31 +0200 |
---|---|---|
committer | Xavier Noria <fxn@hashref.com> | 2010-08-20 13:30:31 +0200 |
commit | 43291469cb1587f8f48ce96d79487bbffa6bc29f (patch) | |
tree | 2e3505438f1e0e89002900dad791bec486bee96d /activerecord | |
parent | f6222ead479fea61ecd3e786442a40e9acc1e898 (diff) | |
download | rails-43291469cb1587f8f48ce96d79487bbffa6bc29f.tar.gz rails-43291469cb1587f8f48ce96d79487bbffa6bc29f.tar.bz2 rails-43291469cb1587f8f48ce96d79487bbffa6bc29f.zip |
deletes the rdoc task of each component, they are no longer published separately
Diffstat (limited to 'activerecord')
-rw-r--r-- | activerecord/Rakefile | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/activerecord/Rakefile b/activerecord/Rakefile index f868b802e5..c2d63cda23 100644 --- a/activerecord/Rakefile +++ b/activerecord/Rakefile @@ -1,8 +1,5 @@ -gem 'rdoc', '>= 2.5.10' -require 'rdoc' require 'rake' require 'rake/testtask' -require 'rdoc/task' require 'rake/packagetask' require 'rake/gempackagetask' @@ -163,28 +160,6 @@ end task :build_frontbase_databases => 'frontbase:build_databases' task :rebuild_frontbase_databases => 'frontbase:rebuild_databases' - -# Generate the RDoc documentation - -RDoc::Task.new { |rdoc| - rdoc.rdoc_dir = 'doc' - rdoc.title = "Active Record -- Object-relation mapping put on rails" - rdoc.options << '-f' << 'horo' - rdoc.options << '--main' << 'README.rdoc' - rdoc.options << '--charset' << 'utf-8' - rdoc.rdoc_files.include('README.rdoc', 'RUNNING_UNIT_TESTS', 'CHANGELOG') - rdoc.rdoc_files.include('lib/**/*.rb') - rdoc.rdoc_files.exclude('lib/active_record/vendor/*') - rdoc.rdoc_files.include('dev-utils/*.rb') -} - -# Enhance rdoc task to copy referenced images also -task :rdoc do - FileUtils.mkdir_p "doc/files/examples/" - FileUtils.copy "examples/associations.png", "doc/files/examples/associations.png" -end - - spec = eval(File.read('activerecord.gemspec')) Rake::GemPackageTask.new(spec) do |p| |