Work in progress: Fetch all resources with livecheck block

This commit is contained in:
Mohammad Zain Abbas 2022-07-17 13:02:22 +02:00
parent 59165ed3ec
commit 8ef6118ba0

View File

@ -73,10 +73,12 @@ module Homebrew
resources = Formula.all do |formula|
formula.resources.any do |resource|
if resource.livecheckable?
p resource
resource
end
end
# formula.resources.filter? { |resource| !resource.livecheckable? }
end
resources
elsif args.all?
formulae = args.cask? ? [] : Formula.all
casks = args.formula? ? [] : Cask::Cask.all