cmd/generate-cask-api: include cask renames
This commit is contained in:
parent
dfbf26910d
commit
3d985d082e
@ -64,6 +64,8 @@ module Homebrew
|
|||||||
|
|
||||||
homebrew_cask_tap_json = JSON.generate(tap.to_internal_api_hash)
|
homebrew_cask_tap_json = JSON.generate(tap.to_internal_api_hash)
|
||||||
File.write("api/internal/v3/homebrew-cask.json", homebrew_cask_tap_json) unless args.dry_run?
|
File.write("api/internal/v3/homebrew-cask.json", homebrew_cask_tap_json) unless args.dry_run?
|
||||||
|
canonical_json = JSON.pretty_generate(tap.cask_renames)
|
||||||
|
File.write("_data/cask_canonical.json", "#{canonical_json}\n") unless args.dry_run?
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user