diff options
| author | Jack Nagel | 2013-08-09 20:47:28 -0500 |
|---|---|---|
| committer | Jack Nagel | 2013-08-09 20:47:28 -0500 |
| commit | 755c786040e4c83735c8468c6bea4644e3b31aa4 (patch) | |
| tree | ac19f317beb88a7e669dfa6c32bd9e37405b1e32 /Library/Homebrew/os/mac/xcode.rb | |
| parent | bcaa8235386b29bc1953333a4eb430df686d78f1 (diff) | |
| download | brew-755c786040e4c83735c8468c6bea4644e3b31aa4.tar.bz2 | |
Move MacOS.xcode43_without_clt? into Xcode module
Diffstat (limited to 'Library/Homebrew/os/mac/xcode.rb')
| -rw-r--r-- | Library/Homebrew/os/mac/xcode.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Library/Homebrew/os/mac/xcode.rb b/Library/Homebrew/os/mac/xcode.rb index bfac9f9bd..13a651115 100644 --- a/Library/Homebrew/os/mac/xcode.rb +++ b/Library/Homebrew/os/mac/xcode.rb @@ -38,6 +38,10 @@ module MacOS::Xcode extend self version < latest_version end + def without_clt? + version >= "4.3" and not MacOS::CLT.installed? + end + def prefix @prefix ||= begin path = Pathname.new(folder) |
