Skip to content

Instantly share code, notes, and snippets.

@takkumattsu
Last active August 29, 2015 14:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save takkumattsu/00229f904f0ca11f21ca to your computer and use it in GitHub Desktop.
Save takkumattsu/00229f904f0ca11f21ca to your computer and use it in GitHub Desktop.
xopen command can open the Xcode project.
#!/bin/sh
if [ -z "$1" ]; then
echo "Please specify xcode project file's directory to the argument"
echo ""
echo "$ xopen \"\$PRJ_DIR\""
echo ""
exit 1
fi
open -a /Applications/Xcode.app "$1"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment