aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/cmd
diff options
context:
space:
mode:
authorAdam Vandenberg2013-07-03 09:20:41 -0700
committerAdam Vandenberg2013-07-03 09:20:41 -0700
commitcd9a87ef446cd26c4d30b087178c4908a19ff2fc (patch)
tree858993889998d85a8a256f17be65cdab8fa703d7 /Library/Homebrew/cmd
parent16230227404d3296456d1cb5458d959f28516cf4 (diff)
downloadhomebrew-cd9a87ef446cd26c4d30b087178c4908a19ff2fc.tar.bz2
audit default template comments
Diffstat (limited to 'Library/Homebrew/cmd')
-rw-r--r--Library/Homebrew/cmd/audit.rb8
1 files changed, 8 insertions, 0 deletions
diff --git a/Library/Homebrew/cmd/audit.rb b/Library/Homebrew/cmd/audit.rb
index 3bff0a846..f6cb03380 100644
--- a/Library/Homebrew/cmd/audit.rb
+++ b/Library/Homebrew/cmd/audit.rb
@@ -340,6 +340,14 @@ class FormulaAuditor
problem "Commented cmake call found"
end
+ # Comments from default template
+ if (text =~ /# if this fails, try separate make\/make install steps/)
+ problem "Please remove default template comments"
+ end
+ if (text =~ /# PLEASE REMOVE/)
+ problem "Please remove default template comments"
+ end
+
# FileUtils is included in Formula
if text =~ /FileUtils\.(\w+)/
problem "Don't need 'FileUtils.' before #{$1}."