audit: catch more examples from example_formula
See https://github.com/Homebrew/homebrew/pull/36629#discussion_r24293912 amongst other recent examples. The example formula isn’t as strongly policed as the ` brew create ` default, this tries to do something about that. Closes Homebrew/homebrew#36639. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
This commit is contained in:
parent
fb246b0f4e
commit
2abd3298f9
@ -455,9 +455,18 @@ class FormulaAuditor
|
||||
if line =~ /# PLEASE REMOVE/
|
||||
problem "Please remove default template comments"
|
||||
end
|
||||
if line =~ /# Documentation:/
|
||||
problem "Please remove default template comments"
|
||||
end
|
||||
if line =~ /# if this fails, try separate make\/make install steps/
|
||||
problem "Please remove default template comments"
|
||||
end
|
||||
if line =~ /# The url of the archive/
|
||||
problem "Please remove default template comments"
|
||||
end
|
||||
if line =~ /## Naming --/
|
||||
problem "Please remove default template comments"
|
||||
end
|
||||
if line =~ /# if your formula requires any X11\/XQuartz components/
|
||||
problem "Please remove default template comments"
|
||||
end
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user