Skip to content
Browse files

Add a few rake tasks to run the specs.

  • Loading branch information...
1 parent cdd1343 commit 5d87894a02580a527200f18edd3354db29e34cfc @alloy alloy committed Sep 22, 2011
Showing with 24 additions and 0 deletions.
  1. +24 −0 Rakefile
View
24 Rakefile
@@ -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.
Something went wrong with that request. Please try again.