diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 37c2cb226..e5adf2ab3 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -16,17 +16,18 @@ Fork the homebrew-cask repository as per instructions in the ## 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: - ```ruby - class Alfred < Cask - url 'http://cachefly.alfredapp.com/alfred_1.3.2_265.zip' - homepage 'http://www.alfredapp.com/' - version '1.3.2_265' - sha1 'e10f15a0ae758cae2a22557f14890fa5989260ce' - end - ``` +```ruby +class Alfred < Cask + url 'http://cachefly.alfredapp.com/alfred_1.3.2_265.zip' + homepage 'http://www.alfredapp.com/' + version '1.3.2_265' + sha1 'e10f15a0ae758cae2a22557f14890fa5989260ce' + link :app, 'Alfred.app' +end +``` ### Preliminary steps