Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

44 lines (36 sloc) 0.962 kB
require 'rake/testtask'
require 'ftools'
require 'hoe'
Version = '0.1.0'
begin
require 'rubygems'
gem 'echoe'
ENV['RUBY_FLAGS'] = ""
require 'echoe'
Echoe.new('sinatra') do |p|
p.rubyforge_name = 'sinatra'
p.dependencies = ['mongrel >=1.0.1', 'rack >=0.2.0']
p.summary = "Sinatra is a classy web-framework dressed in a DSL"
p.description = "Sinatra is a classy web-framework dressed in a DSL"
p.url = "http://sinatra.rubyforge.org/"
p.author = 'Blake Mizerany'
p.email = "blake.mizerany@gmail.com"
p.test_pattern = 'test/**/*_test.rb'
p.include_rakefile = true
end
rescue LoadError
end
task :default => :test
desc 'Test'
Rake::TestTask.new do |t|
t.libs << 'test'
t.pattern = './**/*_test.rb'
t.verbose = true
end
desc 'Clear all the log files from here down'
task :remove_logs do
Dir.glob(Dir.pwd + '/**/*.log') do |logfile|
FileUtils.rm(logfile)
puts 'Removed: %s' % logfile
end
end
Jump to Line
Something went wrong with that request. Please try again.