blob: db55930a28e701ef77f32f8957c16ca94fba4a79 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
test_cask 'with-conditional-caveats' do
version '1.2.3'
sha256 '67cdb8a02803ef37fdbf7e0be205863172e41a561ca446cd84f0d7ab35a99d94'
url TestHelper.local_binary_url('caffeine.zip')
homepage 'http://example.com/local-caffeine'
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
|