mirror of
https://github.com/donl/homebrew-cask-versions.git
synced 2026-07-17 06:16:47 -06:00
for a given cask: - checks required fields - checks URL responds successfully - checks content_length specified
12 lines
271 B
Ruby
12 lines
271 B
Ruby
class Cask::CLI::Audit
|
|
def self.run(*args)
|
|
casks_to_audit = args.empty? ? Cask.all : args.map { |arg| Cask.load(arg) }
|
|
casks_to_audit.each do |cask|
|
|
Cask::Auditor.audit(cask)
|
|
end
|
|
end
|
|
|
|
def self.help
|
|
"verifies installability of casks"
|
|
end
|
|
end
|