aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorAdam Vandenberg2013-07-05 12:05:29 -0700
committerAdam Vandenberg2013-07-05 12:05:29 -0700
commit6afd6e0f486d71f2b1c7f893d47dc24f0cb66075 (patch)
treec5ef8a3b3986373b428dc52ce5f8667d54fee3a8 /Library
parentcf6bc1261531f4009553ad174b79e9dd040bf867 (diff)
downloadhomebrew-6afd6e0f486d71f2b1c7f893d47dc24f0cb66075.tar.bz2
audit more template comments
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/cmd/audit.rb8
1 files changed, 7 insertions, 1 deletions
diff --git a/Library/Homebrew/cmd/audit.rb b/Library/Homebrew/cmd/audit.rb
index 55e5b8d81..b983f98a4 100644
--- a/Library/Homebrew/cmd/audit.rb
+++ b/Library/Homebrew/cmd/audit.rb
@@ -345,10 +345,16 @@ class FormulaAuditor
end
# Comments from default template
+ if (text =~ /# PLEASE REMOVE/)
+ problem "Please remove default template comments"
+ end
if (text =~ /# if this fails, try separate make\/make install steps/)
problem "Please remove default template comments"
end
- if (text =~ /# PLEASE REMOVE/)
+ if (text =~ /# if your formula requires any X11\/XQuartz components/)
+ problem "Please remove default template comments"
+ end
+ if (text =~ /# if your formula's build system can't parallelize/)
problem "Please remove default template comments"
end