Skip to content

Commit

Permalink
rake test task
Browse files Browse the repository at this point in the history
  • Loading branch information
zapnap committed Oct 4, 2009
1 parent 0699e77 commit b5d1f1c
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions Rakefile
Expand Up @@ -27,10 +27,11 @@ spec = Gem::Specification.new do |s|

end

task :default => "test:units"
task :default => "test"
task :test => "test:units"

namespace :test do
desc "Runs the unit tests for perennial"
desc "Runs the unit tests for birdgrinder"
Rake::TestTask.new("units") do |t|
t.pattern = 'test/*_test.rb'
t.libs << 'test'
Expand Down Expand Up @@ -90,4 +91,4 @@ task :gemcutter => [:check_dirty, :gemspec] do
puts ">> pushing to gemcutter"
gem_name = "#{spec.name}-#{CURRENT_VERSION}.gem"
system "gem build #{spec.name}.gemspec && gem push #{gem_name} && rm #{gem_name}"
end
end

0 comments on commit b5d1f1c

Please sign in to comment.