aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Homebrew')
-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}."