Merge pull request #20045 from Homebrew/fix-sharded-api
Fix sharded API structure to match existing API
This commit is contained in:
commit
68ef29fb5c
@ -71,7 +71,7 @@ module Homebrew
|
|||||||
File.write("_data/cask_canonical.json", "#{canonical_json}\n") unless args.dry_run?
|
File.write("_data/cask_canonical.json", "#{canonical_json}\n") unless args.dry_run?
|
||||||
|
|
||||||
OnSystem::VALID_OS_ARCH_TAGS.each do |bottle_tag|
|
OnSystem::VALID_OS_ARCH_TAGS.each do |bottle_tag|
|
||||||
variation_casks = all_casks.transform_values do |cask|
|
variation_casks = all_casks.map do |_, cask|
|
||||||
Homebrew::API.merge_variations(cask, bottle_tag:)
|
Homebrew::API.merge_variations(cask, bottle_tag:)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
@ -69,7 +69,7 @@ module Homebrew
|
|||||||
File.write("_data/formula_canonical.json", "#{canonical_json}\n") unless args.dry_run?
|
File.write("_data/formula_canonical.json", "#{canonical_json}\n") unless args.dry_run?
|
||||||
|
|
||||||
OnSystem::VALID_OS_ARCH_TAGS.each do |bottle_tag|
|
OnSystem::VALID_OS_ARCH_TAGS.each do |bottle_tag|
|
||||||
variation_formulae = all_formulae.transform_values do |formula|
|
variation_formulae = all_formulae.map do |_, formula|
|
||||||
Homebrew::API.merge_variations(formula, bottle_tag:)
|
Homebrew::API.merge_variations(formula, bottle_tag:)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user