2020-06-10 10:06:46 +01:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
|
|
|
cask "with-depends-on-macos-array" do
|
|
|
|
version "1.2.3"
|
|
|
|
sha256 "67cdb8a02803ef37fdbf7e0be205863172e41a561ca446cd84f0d7ab35a99d94"
|
2016-08-18 22:11:42 +03:00
|
|
|
|
2016-10-22 00:48:30 +02:00
|
|
|
url "file://#{TEST_FIXTURE_DIR}/cask/caffeine.zip"
|
2020-06-10 10:06:46 +01:00
|
|
|
homepage "https://brew.sh/with-depends-on-macos-array"
|
2016-08-18 22:11:42 +03:00
|
|
|
|
|
|
|
# since all OS releases are included, this should always pass
|
2020-06-10 10:06:46 +01:00
|
|
|
depends_on macos: [:catalina, MacOS.version.to_sym]
|
2016-08-18 22:11:42 +03:00
|
|
|
|
2020-06-10 10:06:46 +01:00
|
|
|
app "Caffeine.app"
|
2016-08-18 22:11:42 +03:00
|
|
|
end
|