From 07524dfcf3d5e34426b293dd5d883e3587962c22 Mon Sep 17 00:00:00 2001 From: Baptiste Fontaine Date: Thu, 23 Apr 2015 00:30:08 +0200 Subject: coda-cli: basic test added Closes #38953. Signed-off-by: Mike McQuaid --- Library/Formula/coda-cli.rb | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) (limited to 'Library') 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 -- cgit v1.2.3