forked from Homebrew/legacy-homebrew
-
Notifications
You must be signed in to change notification settings - Fork 0
Xcode without CLT
samueljohn edited this page Oct 29, 2012
·
2 revisions
also known as: Xcode-only, no-CLT or NCLT.
Homebrew can be used with just Xcode only. Without the CLT ("Command Line Tools for Xcode). This is experimental, but it works pretty good.
Follows are tips for making life easier:
Put this in your ~/.bash_profile:
if [ ! -x "/usr/bin/cc" ]; then
if [ ! -x "/usr/local/bin/git" ]; then
alias git='xcrun git'
export GIT=`xcrun -find git`
fi
export MANPATH="/Applications/Xcode.app/Contents/Developer/usr/share/man:$MANPATH"
export MANPATH="/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/share/man/:$MANPATH"
alias otool='xcrun otool'
alias install_name_tool='xcrun install_name_tool'
fi