Skip to content

Instantly share code, notes, and snippets.

@programming086
Last active September 26, 2020 10:52
Show Gist options
  • Save programming086/7efad3f582f28582036ad33537b7f1d5 to your computer and use it in GitHub Desktop.
Save programming086/7efad3f582f28582036ad33537b7f1d5 to your computer and use it in GitHub Desktop.
Script to install pods in the project directory using Apple Script and Terminal
#!/bin/sh
osascript <<END
tell application "Terminal"
if not (exists window 1) then reopen
activate
do script "cd `pwd`;pod install" in window 1
end tell
END
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment