audit default template comments
This commit is contained in:
parent
22576e87a0
commit
7e54d013e7
@ -340,6 +340,14 @@ class FormulaAuditor
|
|||||||
problem "Commented cmake call found"
|
problem "Commented cmake call found"
|
||||||
end
|
end
|
||||||
|
|
||||||
|
# Comments from default template
|
||||||
|
if (text =~ /# if this fails, try separate make\/make install steps/)
|
||||||
|
problem "Please remove default template comments"
|
||||||
|
end
|
||||||
|
if (text =~ /# PLEASE REMOVE/)
|
||||||
|
problem "Please remove default template comments"
|
||||||
|
end
|
||||||
|
|
||||||
# FileUtils is included in Formula
|
# FileUtils is included in Formula
|
||||||
if text =~ /FileUtils\.(\w+)/
|
if text =~ /FileUtils\.(\w+)/
|
||||||
problem "Don't need 'FileUtils.' before #{$1}."
|
problem "Don't need 'FileUtils.' before #{$1}."
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user