1 require 'rake/testtask'
12 Echoe.new('sinatra') do |p|
13 p.rubyforge_name = 'bmizerany'
14 p.dependencies = ['mongrel >=1.0.1', 'rack >=0.2.0']
15 p.summary = "Sinatra is a classy web-framework dressed in a DSL"
16 p.description = "Sinatra is a classy web-framework dressed in a DSL"
17 p.url = "http://sinatra.rubyforge.org/"
18 p.author = 'Blake Mizerany'
19 p.email = "blake.mizerany@gmail.com"
20 p.test_pattern = 'test/**/*_test.rb'
21 p.include_rakefile = true
22 p.rdoc_pattern = ['README', 'LICENSE'] << Dir.glob('lib/**/*.rb') << Dir.glob('vendor/**/*.rb')
23 p.docs_host = "bmizerany@rubyforge.org:/var/www/gforge-projects/sinatra/"
29 desc 'Clear all the log files from here down'
31 Dir.glob(Dir.pwd + '/**/*.log') do |logfile|
33 puts 'Removed: %s' % logfile