Skip to content

Instantly share code, notes, and snippets.

@ryanmasondavies
Created April 21, 2013 10:09
Show Gist options
  • Save ryanmasondavies/5429150 to your computer and use it in GitHub Desktop.
Save ryanmasondavies/5429150 to your computer and use it in GitHub Desktop.
Install pods in multiple projects.
top = Dir.pwd
Dir["**/*/Podfile"].each do |f|
dir = File.dirname(f)
Dir.chdir(dir)
puts "Installing pods for #{dir} ..."
system "pod install --verbose"
Dir.chdir top
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment