Merge pull request #9068 from fxcoudert/bs2

Allow casks to depend on ARM
This commit is contained in:
FX Coudert 2020-11-06 15:59:03 +01:00 committed by GitHub
commit 60afa5f584
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

View File

@ -24,6 +24,7 @@ module Cask
intel: { type: :intel, bits: 64 }, intel: { type: :intel, bits: 64 },
# specific # specific
x86_64: { type: :intel, bits: 64 }, x86_64: { type: :intel, bits: 64 },
arm64: { type: :arm, bits: 64 },
}.freeze }.freeze
attr_accessor :java attr_accessor :java

View File

@ -6,7 +6,7 @@ cask "with-depends-on-arch" do
homepage "https://brew.sh/with-depends-on-arch" homepage "https://brew.sh/with-depends-on-arch"
# covers all known hardware; always succeeds # covers all known hardware; always succeeds
depends_on arch: :intel depends_on arch: [:intel, :arm64]
app "Caffeine.app" app "Caffeine.app"
end end