audit: don't allow universal for new formulae.
We're frowning on these now so may as well turn that into code.
This commit is contained in:
parent
ebf3d939d1
commit
f4496e85e5
@ -481,6 +481,10 @@ class FormulaAuditor
|
||||
|
||||
next unless @strict
|
||||
|
||||
if o.name == "universal"
|
||||
problem "macOS has been 64-bit only since 10.6 so universal options are deprecated."
|
||||
end
|
||||
|
||||
if o.name !~ /with(out)?-/ && o.name != "c++11" && o.name != "universal"
|
||||
problem "Options should begin with with/without. Migrate '--#{o.name}' with `deprecated_option`."
|
||||
end
|
||||
|
Loading…
x
Reference in New Issue
Block a user