homebrew-cask-versions/test/support/Casks/with-binary.rb
Roland Walker 2692b5cd8d remove old-style header line from test Casks
This takes the form of a horrible hack: DSL version numbers may
end with "test", *eg* ":v1test". Such Casks are mapped to class
`TestCask` instead of class `Cask`.

The intention is that all of this logic will be removed when
Casks are migrated away from separate classes.

Tests driven by RSpec are still todo.
2014-11-18 09:09:01 -05:00

10 lines
266 B
Ruby

cask :v1test => 'with-binary' do
version '1.2.3'
sha256 'd5b2dfbef7ea28c25f7a77cd7fa14d013d82b626db1d82e00e25822464ba19e2'
url TestHelper.local_binary_url('AppWithBinary.zip')
homepage 'http://example.com/with-binary'
app 'App.app'
binary 'binary'
end