brew/Library/Homebrew/test/support/fixtures/cask/Casks/with-conditional-caveats.rb
2018-08-06 18:27:15 +02:00

15 lines
405 B
Ruby

cask 'with-conditional-caveats' do
version '1.2.3'
sha256 '67cdb8a02803ef37fdbf7e0be205863172e41a561ca446cd84f0d7ab35a99d94'
url "file://#{TEST_FIXTURE_DIR}/cask/caffeine.zip"
homepage 'https://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