Skip to content

Commit

Permalink
Adding rdoc task
Browse files Browse the repository at this point in the history
  • Loading branch information
bvandenbos committed Jun 9, 2011
1 parent afd567b commit 7f1a34b
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
.bundle/
doc/
pkg
nbproject
8 changes: 8 additions & 0 deletions Rakefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
require 'bundler'
require 'rake/rdoctask'
Bundler::GemHelper.install_tasks

$LOAD_PATH.unshift 'lib'
Expand All @@ -11,3 +12,10 @@ task :test do
require File.expand_path(f)
end
end

Rake::RDocTask.new do |rd|
rd.main = "README.markdown"
rd.rdoc_files.include("README.markdown", "lib/**/*.rb")
rd.rdoc_dir = 'doc'
end

0 comments on commit 7f1a34b

Please sign in to comment.