brew-audit - check for combined make calls
This commit is contained in:
parent
c3c27be583
commit
d14323b9a0
@ -88,6 +88,10 @@ def audit_formula_text text
|
||||
problems << " * Use \"if ARGV.build_head?\" instead"
|
||||
end
|
||||
|
||||
if text =~ /make && make/
|
||||
problems << " * Use separate make calls."
|
||||
end
|
||||
|
||||
if ARGV.include? "--warn"
|
||||
if text =~ /^\t/
|
||||
problems << " * Use spaces instead of tabs for indentation"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user