Audit check for MACOS_VERSION

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
This commit is contained in:
Jack Nagel 2012-09-04 18:18:14 -05:00
parent 186a76c741
commit 35a99c240a

View File

@ -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