stouset / rug

Ruby implementation and frontend for git repositories

This URL has Read+Write access

stouset (author)
Wed Jun 04 09:06:46 -0700 2008
commit  3834566b0c372dd7aee12c9996ac17b91f6b0bca
tree    ac83a2953d4a786ce72abb2ca7b28fad27a80e4f
parent  0b29d38f77bd170e72ba849a84921da4412176d7
rug / Rakefile
100644 15 lines (13 sloc) 0.381 kb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
require 'rake/clean'
require 'rake/rdoctask'
 
namespace :doc do
  desc 'Generate HTML documentation'
  Rake::RDocTask.new(:html) do |rdoc|
    rdoc.rdoc_files.include 'bin/**/*'
    rdoc.rdoc_files.include 'lib/**/*.rb'
    rdoc.rdoc_dir = 'doc'
    rdoc.options += %w{ --line-numbers --inline-source }
  end
end
 
task :doc => %w{ doc:html }
task :clean => %w{ doc:clobber_html }