From 733bda49e6e1efbd48a4c3e431649cad55e9eb59 Mon Sep 17 00:00:00 2001 From: Mathias Bynens Date: Sun, 5 May 2013 21:01:23 +0300 Subject: [PATCH] =?UTF-8?q?CONTRIBUTING:=20Update=20=E2=80=9Cadding=20a=20?= =?UTF-8?q?Cask=E2=80=9D=20instructions?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Ref. #259. --- CONTRIBUTING.md | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) 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