Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
fix up rdoc task
  • Loading branch information
wmorgan committed Apr 18, 2012
1 parent 09e51c0 commit 0c46de1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
1 change: 1 addition & 0 deletions .gitignore
@@ -1 +1,2 @@
pkg pkg
doc
5 changes: 2 additions & 3 deletions Rakefile
Expand Up @@ -12,12 +12,11 @@ spec = Gem::Specification.new do |s|
s.homepage = "http://gitub.com/wmorgan/redis-scheduler" s.homepage = "http://gitub.com/wmorgan/redis-scheduler"
s.files = %w(README COPYING lib/redis-scheduler.rb) s.files = %w(README COPYING lib/redis-scheduler.rb)
s.executables = [] s.executables = []
#s.extra_rdoc_files = %w(README) s.rdoc_options = %w(-c utf8 --main README)
#s.rdoc_options = %w(-c utf8 --main README --title Redis)
end end


task :rdoc do |t| 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 end


Gem::PackageTask.new spec do Gem::PackageTask.new spec do
Expand Down

0 comments on commit 0c46de1

Please sign in to comment.