mirror of
https://github.com/Homebrew/brew.git
synced 2025-07-14 16:09:03 +08:00
Fix sharded API structure to match existing API
This commit is contained in:
parent
317110f6f4
commit
fa45209f09
@ -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