Commit 5d87894a authored by Eloy Duran's avatar Eloy Duran

Add a few rake tasks to run the specs.

parent cdd1343b
...@@ -45,3 +45,27 @@ task :install do ...@@ -45,3 +45,27 @@ task :install do
sh "sudo macgem install cocoapods-#{Pod::VERSION}.gem" sh "sudo macgem install cocoapods-#{Pod::VERSION}.gem"
sh "sudo macgem compile cocoapods" sh "sudo macgem compile cocoapods"
end 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'
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment