diff options
| author | Mike McQuaid | 2016-07-06 11:07:24 +0100 |
|---|---|---|
| committer | GitHub | 2016-07-06 11:07:24 +0100 |
| commit | 3a127e405e45a4d95a809651553ff4a30ed95e3d (patch) | |
| tree | f84c3f7b9e572bcdc6faf4f7cc4d4a95cddf5542 /Library/Homebrew/os | |
| parent | 11624b9a7da00448e660f1454121a63b3d401729 (diff) | |
| download | brew-3a127e405e45a4d95a809651553ff4a30ed95e3d.tar.bz2 | |
development_tools: add installed? method. (#455)
Diffstat (limited to 'Library/Homebrew/os')
| -rw-r--r-- | Library/Homebrew/os/mac.rb | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/Library/Homebrew/os/mac.rb b/Library/Homebrew/os/mac.rb index 6a7044ddb..70cd3e33f 100644 --- a/Library/Homebrew/os/mac.rb +++ b/Library/Homebrew/os/mac.rb @@ -61,13 +61,6 @@ module OS end end - # Checks if the user has any developer tools installed, either via Xcode - # or the CLT. Convenient for guarding against formula builds when building - # is impossible. - def has_apple_developer_tools? - Xcode.installed? || CLT.installed? - end - def active_developer_dir @active_developer_dir ||= Utils.popen_read("/usr/bin/xcode-select", "-print-path").strip end |
