Permalink
Browse files

Start adding stuff in for rdoc

  • Loading branch information...
wingrunr21 committed Sep 27, 2011
1 parent e933589 commit 7d10afc83f6f100c3bdf09fd5fdf47e0d668c5cd
Showing with 18 additions and 0 deletions.
  1. +1 −0 .gitignore
  2. +2 −0 Gemfile.lock
  3. +14 −0 Rakefile
  4. +1 −0 gitolite.gemspec
View
@@ -1,3 +1,4 @@
pkg/*
*.gem
.bundle
+rdoc/*
View
@@ -13,6 +13,7 @@ GEM
diff-lcs (~> 1.1)
mime-types (~> 1.15)
mime-types (1.16)
+ rdoc (3.9.4)
rspec (2.6.0)
rspec-core (~> 2.6.0)
rspec-expectations (~> 2.6.0)
@@ -28,4 +29,5 @@ PLATFORMS
DEPENDENCIES
forgery (~> 0.5.0)
gitolite!
+ rdoc (~> 3.9.4)
rspec (~> 2.6.0)
View
@@ -5,3 +5,17 @@ require 'rspec/core/rake_task'
RSpec::Core::RakeTask.new(:spec)
task :test => :spec
task :default => :spec
+
+RDoc::Task.new do |rdoc|
+ rdoc.main = "README.rdoc"
+ rdoc.rdoc_files.include("README.rdoc", "lib/**/*.rb")
+end
+
+# FIXME warns "already initialized constant Task"
+# FIXME aborts with "uninitialized constant RDoc::VISIBILITIES"
+# require 'rdoc/task'
+#
+# RDoc::Task.new do |rdoc|
+# rdoc.main = "README.rdoc"
+# rdoc.rdoc_files.include("README.rdoc", "lib/**/*.rb")
+# end
View
@@ -16,6 +16,7 @@ Gem::Specification.new do |s|
s.add_development_dependency "rspec", "~> 2.6.0"
s.add_development_dependency "forgery", "~> 0.5.0"
+ s.add_development_dependency "rdoc", "~> 3.9.4"
s.add_dependency "grit", "~> 2.4.1"
s.files = `git ls-files`.split("\n")

0 comments on commit 7d10afc

Please sign in to comment.