mirror of
https://github.com/donl/homebrew-cask-versions.git
synced 2026-07-17 06:16:47 -06:00
* fill in functionality for the `depends_on :arch` stub * de-document `caveats` method `arch_only`
13 lines
369 B
Ruby
13 lines
369 B
Ruby
cask :v1test => 'with-conditional-caveats' do
|
|
version '1.2.3'
|
|
sha256 '9203c30951f9aab41ac294bbeb1dcef7bed401ff0b353dcb34d68af32ea51853'
|
|
|
|
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
|
|
end
|
|
end
|