public
Description: RubiGen alternative Generator thingy
Clone URL: git://github.com/jnicklas/templater.git
Search Repo:
added doc task to rakefile
jnicklas (author)
Mon Jun 30 14:09:37 -0700 2008
commit  9e96e1595d5ad4756dd1c8610bf0754f67d3af94
tree    5bc6a4a2223e24f7c571d4e7fbea4feeb39375b4
parent  730e6c39e8014952d4fd638e60d6a72516589e12
...
1
2
3
 
4
5
6
...
61
62
63
 
 
 
 
 
 
 
 
 
 
64
65
...
1
2
3
4
5
6
7
...
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
0
@@ -1,6 +1,7 @@
0
 require 'rubygems'
0
 require 'rake/gempackagetask'
0
 require 'rubygems/specification'
0
+require 'rake/rdoctask'
0
 require 'date'
0
 
0
 PLUGIN = "templater"
0
@@ -61,4 +62,14 @@ namespace :jruby do
0
     sh %{#{SUDO} jruby -S gem install pkg/#{NAME}-#{Merb::VERSION}.gem --no-rdoc --no-ri}
0
   end
0
   
0
+end
0
+
0
+desc 'Generate documentation for Templater.'
0
+Rake::RDocTask.new(:doc) do |rdoc|
0
+ rdoc.rdoc_dir = 'doc'
0
+ rdoc.title = 'Templater'
0
+ rdoc.options << '--line-numbers' << '--inline-source'
0
+ rdoc.rdoc_files.include('README')
0
+ rdoc.rdoc_files.include('LICENSE')
0
+ rdoc.rdoc_files.include('lib/**/*.rb')
0
 end
0
\ No newline at end of file

Comments

    No one has commented yet.