aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorAdam Vandenberg2010-10-30 08:26:36 -0700
committerAdam Vandenberg2010-10-30 08:30:40 -0700
commit274758f677fbb62b3a8e2a77b8cdc717a6628f16 (patch)
treeaa9c94e741045d9c1baf56d816b73c73ef966fe0 /Library
parentb92ee82e1b927030727b64583fe57fed9d54a556 (diff)
downloadhomebrew-274758f677fbb62b3a8e2a77b8cdc717a6628f16.tar.bz2
brew-audit - check for combined make calls
Diffstat (limited to 'Library')
-rwxr-xr-xLibrary/Contributions/examples/brew-audit.rb4
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"