Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

fix up rdoc task

  • Loading branch information...
commit 0c46de14b67cb3330e3ed3e876040aa1fce28046 1 parent 09e51c0
William Morgan authored
Showing with 3 additions and 3 deletions.
  1. +1 −0  .gitignore
  2. +2 −3 Rakefile
1  .gitignore
View
@@ -1 +1,2 @@
pkg
+doc
5 Rakefile
View
@@ -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
Please sign in to comment.
Something went wrong with that request. Please try again.