audit: deprecate language module requirements.
Make `brew audit` complain about language module requirements because they provide a crappy user experience compared to vendoring and we’re not really fixing bugs in them any more.
This commit is contained in:
parent
4d6e31999a
commit
0948d2013a
@ -1021,6 +1021,10 @@ class FormulaAuditor
|
||||
problem ":tex is deprecated."
|
||||
end
|
||||
|
||||
if line =~ /depends_on\s+['"].+['"]\s+=>\s+:(lua|perl|python|ruby)(\d*)/
|
||||
problem "Formulae should vendor #{$1} modules rather than use `depends_on ... => :#{$1}#{$2}`."
|
||||
end
|
||||
|
||||
# Commented-out depends_on
|
||||
problem "Commented-out dep #{$1}" if line =~ /#\s*depends_on\s+(.+)\s*$/
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user