mirror of
https://github.com/donl/homebrew-cask-versions.git
synced 2026-07-17 06:16:47 -06:00
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.
10 lines
312 B
Ruby
10 lines
312 B
Ruby
cask :v1test => 'with-two-apps-correct' do
|
|
version '1.2.3'
|
|
sha256 '9203c30951f9aab41ac294bbeb1dcef7bed401ff0b353dcb34d68af32ea51853'
|
|
|
|
url TestHelper.local_binary_url('caffeine.zip')
|
|
homepage 'http://example.com/local-caffeine'
|
|
|
|
app 'Caffeine.app'
|
|
app 'Caffeine.app', :target => 'AnotherName.app'
|
|
end
|