2017-02-03 21:52:51 +01:00
|
|
|
cask 'with-conditional-caveats' do
|
2016-08-18 22:11:42 +03:00
|
|
|
version '1.2.3'
|
2016-08-20 05:08:16 +02:00
|
|
|
sha256 '67cdb8a02803ef37fdbf7e0be205863172e41a561ca446cd84f0d7ab35a99d94'
|
2016-08-18 22:11:42 +03:00
|
|
|
|
2016-10-22 00:48:30 +02:00
|
|
|
url "file://#{TEST_FIXTURE_DIR}/cask/caffeine.zip"
|
2018-10-10 21:36:06 +00:00
|
|
|
homepage 'https://example.com'
|
2016-08-18 22:11:42 +03:00
|
|
|
|
|
|
|
app 'Caffeine.app'
|
|
|
|
|
|
|
|
# a do block may print and use a DSL
|
|
|
|
caveats do
|
|
|
|
puts 'This caveat is conditional' if false # rubocop:disable Lint/LiteralInCondition
|
|
|
|
end
|
|
|
|
end
|