
Companion to https://github.com/Homebrew/brew/pull/7698. Provide better, `odeprecated` messaging for `depends_on :macos => :mavericks` and otherwise just fix up the code that relied on `:mavericks`.
15 lines
419 B
Ruby
15 lines
419 B
Ruby
# frozen_string_literal: true
|
|
|
|
cask "with-depends-on-macos-array" do
|
|
version "1.2.3"
|
|
sha256 "67cdb8a02803ef37fdbf7e0be205863172e41a561ca446cd84f0d7ab35a99d94"
|
|
|
|
url "file://#{TEST_FIXTURE_DIR}/cask/caffeine.zip"
|
|
homepage "https://brew.sh/with-depends-on-macos-array"
|
|
|
|
# since all OS releases are included, this should always pass
|
|
depends_on macos: [:catalina, MacOS.version.to_sym]
|
|
|
|
app "Caffeine.app"
|
|
end
|