aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/cmd
diff options
context:
space:
mode:
authorAdam Vandenberg2013-07-05 12:05:29 -0700
committerAdam Vandenberg2013-07-05 12:05:29 -0700
commit527f80b83dad3d32e2029589bc4fef020d0ed213 (patch)
treec3ab2ab115b629a21682b95771ef86068195dc22 /Library/Homebrew/cmd
parente5ba52bf5c64ddab07aa76edbb05b46a0c7f7a0d (diff)
downloadbrew-527f80b83dad3d32e2029589bc4fef020d0ed213.tar.bz2
audit more template comments
Diffstat (limited to 'Library/Homebrew/cmd')
-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