|
@ -16,17 +16,18 @@ Fork the homebrew-cask repository as per instructions in the |
|
|
|
|
|
|
|
|
## Adding a Cask |
|
|
## Adding a Cask |
|
|
|
|
|
|
|
|
Making a Cask is easy: a Cask is a Ruby file that is only seven lines long. |
|
|
Making a Cask is easy: a Cask is a Ruby file that is only eight lines long. |
|
|
See the Cask for Alfred.app for an example: |
|
|
See the Cask for Alfred.app for an example: |
|
|
|
|
|
|
|
|
```ruby |
|
|
```ruby |
|
|
class Alfred < Cask |
|
|
class Alfred < Cask |
|
|
url 'http://cachefly.alfredapp.com/alfred_1.3.2_265.zip' |
|
|
url 'http://cachefly.alfredapp.com/alfred_1.3.2_265.zip' |
|
|
homepage 'http://www.alfredapp.com/' |
|
|
homepage 'http://www.alfredapp.com/' |
|
|
version '1.3.2_265' |
|
|
version '1.3.2_265' |
|
|
sha1 'e10f15a0ae758cae2a22557f14890fa5989260ce' |
|
|
sha1 'e10f15a0ae758cae2a22557f14890fa5989260ce' |
|
|
end |
|
|
link :app, 'Alfred.app' |
|
|
``` |
|
|
end |
|
|
|
|
|
``` |
|
|
|
|
|
|
|
|
### Preliminary steps |
|
|
### Preliminary steps |
|
|
|
|
|
|
|
|