public
Fork of rails/rails
Description: Ruby on Rails fork for experiments with gem plugin loader
Homepage: http://rubyonrails.org
Clone URL: git://github.com/pager/rails.git
Add rdoc task to activemodel. [#156 state:resolved]

Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
jakehow (author)
Thu May 15 22:29:55 -0700 2008
lifo (committer)
Fri May 16 02:35:09 -0700 2008
commit  3baf810482303126c75daa7915e200030d1755e0
tree    d3159582cdd4f8437fa3cd97ef134d957a7ec969
parent  5a3fd46d42f05a241b3178af60d38fe5e0cebee6
...
1
2
3
4
5
 
 
 
 
 
 
 
 
 
 
 
 
 
6
...
1
2
3
 
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
0
@@ -1,4 +1,16 @@
0
 #!/usr/bin/env ruby
0
 $LOAD_PATH << File.join(File.dirname(__FILE__), 'vendor', 'rspec', 'lib')
0
 require 'rake'
0
-require 'spec/rake/spectask'
0
\ No newline at end of file
0
+require 'spec/rake/spectask'
0
+require 'rake/rdoctask'
0
+
0
+# Generate the RDoc documentation
0
+Rake::RDocTask.new { |rdoc|
0
+ rdoc.rdoc_dir = 'doc'
0
+ rdoc.title = "Active Model"
0
+ rdoc.options << '--line-numbers' << '--inline-source' << '-A cattr_accessor=object'
0
+ rdoc.options << '--charset' << 'utf-8'
0
+ rdoc.template = "#{ENV['template']}.rb" if ENV['template']
0
+ rdoc.rdoc_files.include('README', 'CHANGES')
0
+ rdoc.rdoc_files.include('lib/**/*.rb')
0
+}
0
\ No newline at end of file

Comments

    No one has commented yet.