brew-audit - check for combined make calls

This commit is contained in:
Adam Vandenberg 2010-10-30 08:26:36 -07:00
parent c3c27be583
commit d14323b9a0

View File

@ -88,6 +88,10 @@ def audit_formula_text text
problems << " * Use \"if ARGV.build_head?\" instead"
end
if text =~ /make && make/
problems << " * Use separate make calls."
end
if ARGV.include? "--warn"
if text =~ /^\t/
problems << " * Use spaces instead of tabs for indentation"