diff options
| author | Jack Nagel | 2012-09-04 18:18:14 -0500 |
|---|---|---|
| committer | Jack Nagel | 2012-09-04 18:18:14 -0500 |
| commit | 35a99c240ae25513928b181f5d9a080fe36bf9af (patch) | |
| tree | ac9c1456ff43da5dfdda8eed0a6d13c3c5ec10c9 /Library/Homebrew/cmd | |
| parent | 186a76c741a92c25d58b85d597bbb9fb5774c668 (diff) | |
| download | brew-35a99c240ae25513928b181f5d9a080fe36bf9af.tar.bz2 | |
Audit check for MACOS_VERSION
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Diffstat (limited to 'Library/Homebrew/cmd')
| -rw-r--r-- | Library/Homebrew/cmd/audit.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Library/Homebrew/cmd/audit.rb b/Library/Homebrew/cmd/audit.rb index 6812dd118..b61d58817 100644 --- a/Library/Homebrew/cmd/audit.rb +++ b/Library/Homebrew/cmd/audit.rb @@ -385,6 +385,10 @@ class FormulaAuditor if text =~ /def options/ problem "Use new-style option definitions." end + + if text =~ /MACOS_VERSION/ + problem "Use MacOS.version instead of MACOS_VERSION" + end end def audit |
