Rakefile: completely remove test and doc tasks
It turns out Echoe creates doc and test tasks that do exactly what we want.
This commit is contained in:
parent
e7e0e55815
commit
a3bbfead68
12
Rakefile
12
Rakefile
|
@ -1,20 +1,8 @@
|
|||
require 'rubygems'
|
||||
require 'rake/rdoctask'
|
||||
require 'echoe'
|
||||
|
||||
task :default => :test
|
||||
|
||||
task :test do
|
||||
ENV['SINATRA_ENV'] = 'test'
|
||||
end
|
||||
|
||||
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
|
||||
|
||||
Echoe.new("sinatra") do |p|
|
||||
p.author = "Blake Mizerany"
|
||||
p.summary = "Classy web-development dressed in a DSL"
|
||||
|
|
Loading…
Reference in New Issue