43 lines
1.1 KiB
Ruby
43 lines
1.1 KiB
Ruby
cask "lando" do
|
|
version "3.3.2"
|
|
|
|
if Hardware::CPU.intel?
|
|
sha256 "893a07612ee5b894538f0566cb7a0d28ba38ab1478f1f053592d378eb0508940"
|
|
|
|
url "https://github.com/lando/lando/releases/download/v#{version}/lando-x64-v#{version}.dmg",
|
|
verified: "github.com/lando/lando/"
|
|
else
|
|
sha256 "2509829d5ef50fe98ece78005989fdd216e51e3563e38e8698948a2d2e208bcb"
|
|
|
|
url "https://github.com/lando/lando/releases/download/v#{version}/lando-arm64-v#{version}.dmg",
|
|
verified: "github.com/lando/lando/"
|
|
end
|
|
|
|
name "Lando"
|
|
desc "Local development environment and DevOps tool built on Docker"
|
|
homepage "https://lando.dev/"
|
|
|
|
livecheck do
|
|
url :url
|
|
strategy :github_latest
|
|
end
|
|
|
|
depends_on cask: "docker"
|
|
|
|
pkg "LandoInstaller.pkg",
|
|
choices: [
|
|
{
|
|
"choiceIdentifier" => "choiceDocker",
|
|
"choiceAttribute" => "selected",
|
|
"attributeSetting" => 0,
|
|
},
|
|
{
|
|
"choiceIdentifier" => "choiceLando",
|
|
"choiceAttribute" => "selected",
|
|
"attributeSetting" => 1,
|
|
},
|
|
]
|
|
|
|
uninstall pkgutil: "dev.lando.pkg.lando"
|
|
end
|