Skip to content

Commit

Permalink
Added the rdoc task.
Browse files Browse the repository at this point in the history
  • Loading branch information
arbox committed Jan 9, 2012
1 parent 792eb73 commit 662dc58
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions Rakefile 100755 → 100644
Expand Up @@ -6,3 +6,13 @@ end

desc "Run tests"
task :default => :test

# Generate documentation.
require 'rdoc/task'
RDoc::Task.new do |rdoc|
rdoc.rdoc_files.include('README.rdoc',
'lib/**/*',
'bin/**/*')
rdoc.options = ['--main', 'README.rdoc']
rdoc.rdoc_dir = 'rdoc'
end

0 comments on commit 662dc58

Please sign in to comment.