1 require 'rake/testtask'
10 ENV['RUBY_FLAGS'] = ""
13 Echoe.new('sinatra') do |p|
14 p.rubyforge_name = 'sinatra'
15 p.dependencies = ['mongrel >=1.0.1', 'rack >=0.2.0']
16 p.summary = "Sinatra is a classy web-framework dressed in a DSL"
17 p.description = "Sinatra is a classy web-framework dressed in a DSL"
18 p.url = "http://sinatra.rubyforge.org/"
19 p.author = 'Blake Mizerany'
20 p.email = "blake.mizerany@gmail.com"
21 p.test_pattern = 'test/**/*_test.rb'
22 p.include_rakefile = true
28 desc 'Clear all the log files from here down'
30 Dir.glob(Dir.pwd + '/**/*.log') do |logfile|
32 puts 'Removed: %s' % logfile