Permalink
Browse files

fix up rdoc task

  • Loading branch information...
1 parent 09e51c0 commit 0c46de14b67cb3330e3ed3e876040aa1fce28046 @wmorgan committed Apr 18, 2012
Showing with 3 additions and 3 deletions.
  1. +1 −0 .gitignore
  2. +2 −3 Rakefile
View
1 .gitignore
@@ -1 +1,2 @@
pkg
+doc
View
5 Rakefile
@@ -12,12 +12,11 @@ spec = Gem::Specification.new do |s|
s.homepage = "http://gitub.com/wmorgan/redis-scheduler"
s.files = %w(README COPYING lib/redis-scheduler.rb)
s.executables = []
- #s.extra_rdoc_files = %w(README)
- #s.rdoc_options = %w(-c utf8 --main README --title Redis)
+ s.rdoc_options = %w(-c utf8 --main README)
end
task :rdoc do |t|
- sh "rm -rf doc; rdoc #{spec.rdoc_options.join(' ')} #{spec.extra_rdoc_files.join(' ')} lib/whistlepig.rb"
+ sh "rm -rf doc; rdoc #{spec.rdoc_options.join(' ')} #{spec.files.join(' ')}"
end
Gem::PackageTask.new spec do

0 comments on commit 0c46de1

Please sign in to comment.