Rakefile in bmizerany-sinatra-0.9.0.4 vs Rakefile in bmizerany-sinatra-0.9.0.5

- old
+ new

@@ -1,10 +1,10 @@ require 'rake/clean' require 'rake/testtask' require 'fileutils' -task :default => :test +task :default => [:test] task :spec => :test # SPECS =============================================================== Rake::TestTask.new(:test) do |t| @@ -43,9 +43,10 @@ task :install => package('.gem') do sh "gem install #{package('.gem')}" end directory 'dist/' +CLOBBER.include('dist') file package('.gem') => %w[dist/ sinatra.gemspec] + spec.files do |f| sh "gem build sinatra.gemspec" mv File.basename(f.name), f.name end