Created
May 7, 2015 20:46
-
-
Save timuruski/d5238bccdc2bc4d58efb to your computer and use it in GitHub Desktop.
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
#! /usr/bin/env ruby | |
# Not guaranteed to work. | |
require 'fileutils' | |
require 'pathname' | |
root = Pathname.new %x(git rev-parse --show-toplevel) | |
podfile_path = root + 'Podfile.lock' | |
pods_path = root + 'Pods' | |
podfile_path.rm if podfile_path.exist? | |
pods_path.rmdir rescue nil | |
system 'pod install' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment