aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew
diff options
context:
space:
mode:
authorAdam Vandenberg2013-07-03 09:20:41 -0700
committerAdam Vandenberg2013-07-03 09:20:41 -0700
commit7e54d013e7dd51eed721239068387eddf1a8e6b2 (patch)
tree5f49d58e5a5364b70409c3625b9070baa9dc6463 /Library/Homebrew
parent22576e87a0b9d0a269bc9fd6a969ad2abc05570c (diff)
downloadbrew-7e54d013e7dd51eed721239068387eddf1a8e6b2.tar.bz2
audit default template comments
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}."