mirror of
https://github.com/wavetermdev/homebrew-cask.git
synced 2026-08-05 13:43:24 -07:00
39 lines
1012 B
Ruby
39 lines
1012 B
Ruby
cask "lando" do
|
|
arch arm: "arm64", intel: "x64"
|
|
|
|
version "3.20.4"
|
|
sha256 arm: "9fea1ad2797a42e6c51022c2b0860b047f2976e739ab73c61e74e6103fbd6da1",
|
|
intel: "d15a8535be3b979992647f0645d466534abed4a440430fd5ff89d4021dc88810"
|
|
|
|
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
|