1
0
Fork 0
mirror of https://github.com/sinatra/sinatra synced 2023-03-27 23:18:01 -04:00
sinatra/Rakefile

27 lines
696 B
Text
Raw Normal View History

2007-11-21 17:56:42 -05:00
require 'rubygems'
2008-03-24 20:20:58 -04:00
require 'rake/rdoctask'
2008-04-11 19:29:36 -04:00
require 'echoe'
2007-11-21 17:56:42 -05:00
task :default => :test
task :test do
ENV['SINATRA_ENV'] = 'test'
end
2008-03-24 20:20:58 -04:00
Rake::RDocTask.new do |rd|
rd.main = "README.rdoc"
rd.rdoc_files += ["README.rdoc"]
rd.rdoc_files += Dir.glob("lib/**/*.rb")
rd.rdoc_dir = 'doc'
end
2008-04-11 19:29:36 -04:00
Echoe.new("sinatra") do |p|
p.author = "Blake Mizerany"
p.summary = "Classy web-development dressed in a DSL"
p.url = "http://www.sinatrarb.com"
p.docs_host = "sinatrarb.com:/var/www/blakemizerany.com/public/docs/"
p.dependencies = ["mongrel >=1.0.1", "rack >= 0.3.0"]
p.install_message = "*** Be sure to checkout the site for helpful tips! sinatrarb.com ***"
p.include_rakefile = true
end