homebrew-cask/Casks/lando.rb

29 lines
927 B
Ruby

cask 'lando' do
version '3.0.0-rrc.2'
sha256 'ec3ce543fb51c1e2b3bce264b2ccd07c649368d2b23159d78d1e6260794707ef'
# github.com/lando/lando was verified as official when first introduced to the cask
url "https://github.com/lando/lando/releases/download/v#{version}/lando-v#{version}.dmg"
appcast 'https://github.com/lando/lando/releases.atom'
name 'Lando'
homepage 'https://docs.lando.dev/'
depends_on cask: 'docker'
pkg 'LandoInstaller.pkg',
choices: [
{
'choiceIdentifier' => 'choiceDocker',
'choiceAttribute' => 'selected',
'attributeSetting' => 0,
},
{
'choiceIdentifier' => 'choiceLando',
'choiceAttribute' => 'selected',
'attributeSetting' => 1,
},
]
uninstall pkgutil: 'io.lando.pkg.lando'
end