Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

add rdoc task and development dep

  • Loading branch information...
commit b2c4f6a67c251a580171f5d0d288b7224207a0e7 1 parent 46406ab
Zachary Scott authored
Showing with 10 additions and 0 deletions.
  1. +9 −0 Rakefile
  2. +1 −0  glorify.gemspec
9 Rakefile
View
@@ -1,10 +1,19 @@
require "bundler/gem_tasks"
require 'rake/testtask'
+require 'rdoc/task'
Rake::TestTask.new do |t|
t.pattern = "spec/*_spec.rb"
end
+RDoc::Task.new do |rdoc|
+ rdoc.title = "Sinatra::Glorify"
+ rdoc.main = "README.md"
+ rdoc.rdoc_files.include("README.md", "lib/**/*.rb")
+ rdoc.rdoc_dir = "."
+ rdoc.options << "-O"
+end
+
task(:spec => :test)
task(:default => :test)
1  glorify.gemspec
View
@@ -23,4 +23,5 @@ Gem::Specification.new do |s|
s.add_development_dependency "rack-test"
s.add_development_dependency "rake"
s.add_development_dependency "w3c_validators"
+ s.add_development_dependency "rdoc", "4.0.0.preview2"
end
Please sign in to comment.
Something went wrong with that request. Please try again.