Commit af34bef9 authored by Fabio Pelosin's avatar Fabio Pelosin

[Rakefile] Perform setup on for integration only if needed.

This skips the unneeded update.
parent a4e15873
...@@ -214,8 +214,10 @@ namespace :spec do ...@@ -214,8 +214,10 @@ namespace :spec do
title 'Running the specs' title 'Running the specs'
sh "bundle exec bacon #{specs('**')}" sh "bundle exec bacon #{specs('**')}"
unless Pathname.new('~/.cocoapods/master').exist?
title 'Ensuring specs repo is up to date' title 'Ensuring specs repo is up to date'
sh "./bin/pod setup" sh "./bin/pod setup"
end
title 'Running Integration 2 tests' title 'Running Integration 2 tests'
sh "bundle exec bacon spec/integration_2.rb" sh "bundle exec bacon spec/integration_2.rb"
......
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