From d14323b9a07344404bd2f628bfe75db593727828 Mon Sep 17 00:00:00 2001 From: Adam Vandenberg Date: Sat, 30 Oct 2010 08:26:36 -0700 Subject: brew-audit - check for combined make calls --- Library/Contributions/examples/brew-audit.rb | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'Library') diff --git a/Library/Contributions/examples/brew-audit.rb b/Library/Contributions/examples/brew-audit.rb index 7b527f59b..f8de2c546 100755 --- a/Library/Contributions/examples/brew-audit.rb +++ b/Library/Contributions/examples/brew-audit.rb @@ -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" -- cgit v1.2.3