Created
April 21, 2013 10:09
-
-
Save ryanmasondavies/5429150 to your computer and use it in GitHub Desktop.
Install pods in multiple projects.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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