diff options
| author | Adam Vandenberg | 2010-10-30 08:26:36 -0700 |
|---|---|---|
| committer | Adam Vandenberg | 2010-10-30 08:30:40 -0700 |
| commit | d14323b9a07344404bd2f628bfe75db593727828 (patch) | |
| tree | 5f1983f3b12644017592fc98681a92c48ee52f46 | |
| parent | c3c27be583b7c95d4197cffc18bfdb7422bd43e4 (diff) | |
| download | brew-d14323b9a07344404bd2f628bfe75db593727828.tar.bz2 | |
brew-audit - check for combined make calls
| -rwxr-xr-x | Library/Contributions/examples/brew-audit.rb | 4 |
1 files changed, 4 insertions, 0 deletions
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" |
