homebrew-cask/Casks/lando.rb

29 lines
932 B
Ruby
Raw Normal View History

2017-10-05 19:12:37 +08:00
cask 'lando' do
2018-10-05 05:13:28 +08:00
version '3.0.0-rc.1'
sha256 '450888a92e0b353dea96975a011b58a7efbb52f3f23edea1a7f3eb673780b041'
2017-10-05 19:12:37 +08:00
# 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"
2018-06-12 22:37:26 +08:00
appcast 'https://github.com/lando/lando/releases.atom'
2017-10-05 19:12:37 +08:00
name 'Lando'
homepage 'https://docs.devwithlando.io/'
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