Merge pull request #9068 from fxcoudert/bs2
Allow casks to depend on ARM
This commit is contained in:
commit
60afa5f584
@ -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
|
||||||
|
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user