diff options
| author | samueljohn | 2013-01-23 00:26:30 -0600 |
|---|---|---|
| committer | Jack Nagel | 2013-01-26 12:14:50 -0600 |
| commit | 7bd5acd385712d87c73f18284c2d1f8638fb7647 (patch) | |
| tree | 5da080042f91f1c47731aed13fa477b66f89de4c /Library/Homebrew/requirements.rb | |
| parent | 41980bdfdf3a82fd5368b0a36f8d6d7384b13c3d (diff) | |
| download | homebrew-7bd5acd385712d87c73f18284c2d1f8638fb7647.tar.bz2 | |
Add "depends_on :clt"
Diffstat (limited to 'Library/Homebrew/requirements.rb')
| -rw-r--r-- | Library/Homebrew/requirements.rb | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/Library/Homebrew/requirements.rb b/Library/Homebrew/requirements.rb index 892de0341..ab7b82603 100644 --- a/Library/Homebrew/requirements.rb +++ b/Library/Homebrew/requirements.rb @@ -271,3 +271,18 @@ class TeXInstalled < Requirement EOS end end + +class CLTDependency < Requirement + fatal true + + def satisfied? + MacOS::CLT.installed? + end + + def message; <<-EOS.undent + The Command Line Tools for Xcode are required to compile this software. + The standalone package can be obtained from http://connect.apple.com, + or it can be installed via Xcode's preferences. + EOS + end +end |
