diff options
Diffstat (limited to 'activesupport/Rakefile')
-rw-r--r-- | activesupport/Rakefile | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/activesupport/Rakefile b/activesupport/Rakefile index 3abf82daaf..84c4d01f6a 100644 --- a/activesupport/Rakefile +++ b/activesupport/Rakefile @@ -1,4 +1,5 @@ require 'rake/testtask' +require 'rake/rdoctask' require 'rake/gempackagetask' require 'rake/contrib/rubyforgepublisher' @@ -15,6 +16,18 @@ Rake::TestTask.new { |t| # Create compressed packages dist_dirs = [ "lib", "test"] +# Genereate the RDoc documentation + +Rake::RDocTask.new { |rdoc| + rdoc.rdoc_dir = 'doc' + rdoc.title = "Active Support -- Utility classes and standard library extensions from Rails" + rdoc.options << '--line-numbers --inline-source --main README' + rdoc.rdoc_files.include('README', 'CHANGELOG') + rdoc.rdoc_files.include('lib/active_support.rb') + rdoc.rdoc_files.include('lib/active_support/*.rb') + rdoc.rdoc_files.include('lib/active_support/**/*.rb') +} + spec = Gem::Specification.new do |s| s.name = PKG_NAME s.version = PKG_VERSION |