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
23 p.rdoc_pattern = ['README', 'LICENSE'] << Dir.glob('lib/**/*.rb') << Dir.glob('vendor/**/*.rb')
24 p.docs_host = "bmizerany@rubyforge.org:/var/www/gforge-projects/sinatra/"
30 desc 'Clear all the log files from here down'
32 Dir.glob(Dir.pwd + '/**/*.log') do |logfile|
34 puts 'Removed: %s' % logfile