brew audit: also check for spaces in Amazon formulae
This commit is contained in:
parent
f759387c89
commit
fd533881a6
@ -15,9 +15,9 @@ end
|
||||
def audit_formula_text name, text
|
||||
problems = []
|
||||
|
||||
if text =~ /<Formula/
|
||||
problems << " * Use a space in class inheritance: class Foo < Formula"
|
||||
end if strict?
|
||||
if text =~ /<(Formula|AmazonWebServicesFormula)/
|
||||
problems << " * Use a space in class inheritance: class Foo < #{$1}"
|
||||
end
|
||||
|
||||
# Commented-out cmake support from default template
|
||||
if (text =~ /# depends_on 'cmake'/) or (text =~ /# system "cmake/)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user