Mike McQuaid d13aaf94db
Deprecate conflicts_with formula: in Cask DSL.
This is outside of our usual deprecation process but it's a no-op method
that does, and has always done, nothing so it doesn't make sense to wait
another 2.5 months before deprecating it.

While we're here, make `conflicts_with` `typed: strict` in Sorbet.
2025-08-18 19:25:54 +01:00

49 lines
1.3 KiB
Ruby

# Used to test cask hash generation.
cask "everything" do
version "1.2.3"
language "en", default: true do
sha256 "c64c05bdc0be845505d6e55e69e696a7f50d40846e76155f0c85d5ff5e7bbb84"
"en-US"
end
language "eo" do
sha256 "e8ffa07370a7fb7e1696b04c269e01d3459725965a32facdd54629a95d148908"
"eo"
end
url "https://cachefly.everything.app/releases/Everything_#{version}.zip",
user_agent: :fake,
cookies: { "ALL" => "1234" }
name "Everything"
desc "Little bit of everything"
homepage "https://www.everything.app/"
auto_updates true
conflicts_with cask: "nothing"
depends_on cask: "something"
container type: :naked
app "Everything.app"
installer script: {
executable: "~/just/another/path/install.sh",
args: ["--mode=silent"],
sudo: true,
print_stderr: false,
}
uninstall launchctl: "com.every.thing.agent",
signal: [
["TERM", "com.every.thing.controller#{version.major}"],
["TERM", "com.every.thing.bin"],
],
kext: "com.every.thing.driver",
delete: "/Library/EverythingHelperTools"
zap trash: [
"~/.everything",
"~/Library/Everything",
]
caveats "Installing everything might take a while..."
end