From 527f80b83dad3d32e2029589bc4fef020d0ed213 Mon Sep 17 00:00:00 2001 From: Adam Vandenberg <flangy@gmail.com> Date: Fri, 5 Jul 2013 12:05:29 -0700 Subject: [PATCH] audit more template comments --- Library/Homebrew/cmd/audit.rb | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/Library/Homebrew/cmd/audit.rb b/Library/Homebrew/cmd/audit.rb index 55e5b8d816..b983f98a48 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 -- GitLab