From 7e54d013e7dd51eed721239068387eddf1a8e6b2 Mon Sep 17 00:00:00 2001 From: Adam Vandenberg Date: Wed, 3 Jul 2013 09:20:41 -0700 Subject: [PATCH] audit default template comments --- Library/Homebrew/cmd/audit.rb | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/Library/Homebrew/cmd/audit.rb b/Library/Homebrew/cmd/audit.rb index 3bff0a8465..f6cb033809 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}."