39 lines
1012 B
Ruby
39 lines
1012 B
Ruby
cask "lando" do
|
|
arch arm: "arm64", intel: "x64"
|
|
|
|
version "3.18.0"
|
|
sha256 arm: "76de528179af59bfd45bffb88f11b3a085509f55f37e9683896155e8ddd6a985",
|
|
intel: "0aa885d15037b31f5e5948543cc47495810ff86724cdc77e39ca6ea041c1ba77"
|
|
|
|
url "https://github.com/lando/lando/releases/download/v#{version}/lando-#{arch}-v#{version}.dmg",
|
|
verified: "github.com/lando/lando/"
|
|
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"
|
|
|
|
zap trash: "~/.lando"
|
|
end
|