diff options
| author | Baptiste Fontaine | 2015-04-23 00:30:08 +0200 |
|---|---|---|
| committer | Mike McQuaid | 2015-04-23 21:55:34 +0100 |
| commit | 07524dfcf3d5e34426b293dd5d883e3587962c22 (patch) | |
| tree | 63622396868baf60d682f46239d3c3ffaa13e97f /Library | |
| parent | b32a852af34e39e856bf664aa5c9a384e9637806 (diff) | |
| download | homebrew-07524dfcf3d5e34426b293dd5d883e3587962c22.tar.bz2 | |
coda-cli: basic test added
Closes #38953.
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Formula/coda-cli.rb | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/Library/Formula/coda-cli.rb b/Library/Formula/coda-cli.rb index 52477389b..1e537f15f 100644 --- a/Library/Formula/coda-cli.rb +++ b/Library/Formula/coda-cli.rb @@ -1,11 +1,13 @@ -require 'formula' - class CodaCli < Formula - homepage 'http://justinhileman.info/coda-cli/' - url 'https://github.com/bobthecow/coda-cli/archive/v1.0.5.tar.gz' - sha1 '60b1b9c1bfe9602f5140dd3ea4b4e6ae2c51acf3' + homepage "http://justinhileman.info/coda-cli/" + url "https://github.com/bobthecow/coda-cli/archive/v1.0.5.tar.gz" + sha256 "5ed407313a8d1fc6cc4d5b1acc14a80f7e6fad6146f2334de510e475955008b9" def install - bin.install 'coda' + bin.install "coda" + end + + test do + system "#{bin}/coda", "-h" end end |
