Remove audit check for XZ

Any formula with a URL that ends in ".xz" now gets this dependency
automatically, so this check no longer does anything.
This commit is contained in:
Jack Nagel 2013-10-15 22:54:31 -05:00
parent 3df31557c8
commit e9d608587d

View File

@ -263,10 +263,6 @@ class FormulaAuditor
urls.select { |u| u =~ %r[https://.*/(?:tar|zip)ball/] && u !~ %r[\.git$] }.each do |u|
problem "Use /archive/ URLs for GitHub tarballs (url is #{u})."
end
if urls.any? { |u| u =~ /\.xz/ } && !f.deps.any? { |d| d.name == "xz" }
problem "Missing a build-time dependency on 'xz'"
end
end
def audit_specs