add audit for scons
This commit is contained in:
parent
9055c1e361
commit
758a601555
@ -292,6 +292,10 @@ class FormulaAuditor
|
|||||||
end
|
end
|
||||||
|
|
||||||
def audit_text
|
def audit_text
|
||||||
|
if text =~ /system\s+['"]scons/
|
||||||
|
problem "use \"scons, *args\" instead of \"system 'scons', *args\""
|
||||||
|
end
|
||||||
|
|
||||||
if text =~ /system\s+['"]xcodebuild/ && text !~ /SYMROOT=/
|
if text =~ /system\s+['"]xcodebuild/ && text !~ /SYMROOT=/
|
||||||
problem "xcodebuild should be passed an explicit \"SYMROOT\""
|
problem "xcodebuild should be passed an explicit \"SYMROOT\""
|
||||||
end
|
end
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user