diff options
| author | Adam Vandenberg | 2013-07-05 12:05:29 -0700 |
|---|---|---|
| committer | Adam Vandenberg | 2013-07-05 12:05:29 -0700 |
| commit | 527f80b83dad3d32e2029589bc4fef020d0ed213 (patch) | |
| tree | c3ab2ab115b629a21682b95771ef86068195dc22 | |
| parent | e5ba52bf5c64ddab07aa76edbb05b46a0c7f7a0d (diff) | |
| download | brew-527f80b83dad3d32e2029589bc4fef020d0ed213.tar.bz2 | |
audit more template comments
| -rw-r--r-- | Library/Homebrew/cmd/audit.rb | 8 |
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 |
