Update example cask in Language Reference Doc

This commit is contained in:
Michael 2015-07-03 02:44:02 +08:00
parent c5e6734121
commit 7971e7341e
1 changed files with 7 additions and 3 deletions

View File

@ -38,16 +38,20 @@ definition itself is always enclosed in a `do ... end` block. Example:
```ruby
cask :v1 => 'alfred' do
version '2.3_264'
sha256 'a32565cdb1673f4071593d4cc9e1c26bc884218b62fef8abc450daa47ba8fa92'
version '2.7.1_387'
sha256 'a3738d0513d736918a6d71535ef3d85dd184af267c05698e49ac4c6b48f38e17'
url 'https://cachefly.alfredapp.com/Alfred_2.3_264.zip'
url "https://cachefly.alfredapp.com/Alfred_#{version}.zip"
name 'Alfred'
homepage 'http://www.alfredapp.com/'
license :freemium
app 'Alfred 2.app'
app 'Alfred 2.app/Contents/Preferences/Alfred Preferences.app'
postflight do
suppress_move_to_applications :key => 'suppressMoveToApplications'
end
end
```