Skip to content

Commit

Permalink
Add a few rake tasks to run the specs.
Browse files Browse the repository at this point in the history
  • Loading branch information
alloy committed Sep 21, 2011
1 parent cdd1343 commit 5d87894
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -45,3 +45,27 @@ task :install do
sh "sudo macgem install cocoapods-#{Pod::VERSION}.gem"
sh "sudo macgem compile cocoapods"
end

namespace :spec do
desc "Run the unit specs"
task :unit do
sh "macbacon spec/unit/**/*_spec.rb"
end

desc "Run the functional specs"
task :functional do
sh "macbacon spec/functional/*_spec.rb"
end

desc "Run the integration spec"
task :integration do
sh "macbacon spec/integration_spec.rb"
end

task :all do
sh "macbacon -a"
end
end

desc "Run all specs"
task :spec => 'spec:all'

0 comments on commit 5d87894

Please sign in to comment.