audit: flag incorrect automake/autoconf/libtool dep handling
Just makes the audit cough out this: ``` * :libtool is deprecated. Usage should be "libtool" * :autoconf is deprecated. Usage should be "autoconf" * :automake is deprecated. Usage should be "automake" ``` Closes Homebrew/homebrew#39303. Closes Homebrew/homebrew#39322. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
This commit is contained in:
parent
241831e263
commit
9dc8db12e4
@ -588,6 +588,10 @@ class FormulaAuditor
|
||||
problem "\"#{$1}\" should be \"\#{#{$2}}\""
|
||||
end
|
||||
|
||||
if line =~ %r[depends_on :(automake|autoconf|libtool)]
|
||||
problem ":#{$1} is deprecated. Usage should be \"#{$1}\""
|
||||
end
|
||||
|
||||
# Commented-out depends_on
|
||||
if line =~ /#\s*depends_on\s+(.+)\s*$/
|
||||
problem "Commented-out dep #{$1}"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user