From 4963c35e63597ea4a357e2c882bae982d6cf515b Mon Sep 17 00:00:00 2001 From: Baptiste Fontaine Date: Sun, 4 Jan 2015 15:31:08 +0100 Subject: bashish: test added Closes #35544. Signed-off-by: Mike McQuaid --- Library/Formula/bashish.rb | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) (limited to 'Library/Formula') diff --git a/Library/Formula/bashish.rb b/Library/Formula/bashish.rb index b348d907a..530a17f13 100644 --- a/Library/Formula/bashish.rb +++ b/Library/Formula/bashish.rb @@ -1,15 +1,17 @@ -require 'formula' - class Bashish < Formula - homepage 'http://bashish.sourceforge.net/' - url 'https://downloads.sourceforge.net/project/bashish/bashish/2.2.4/bashish-2.2.4.tar.gz' - sha1 '532ed2a1c1bacafb459c2c7dedf720e9047bd716' + homepage "http://bashish.sourceforge.net/" + url "https://downloads.sourceforge.net/project/bashish/bashish/2.2.4/bashish-2.2.4.tar.gz" + sha1 "532ed2a1c1bacafb459c2c7dedf720e9047bd716" - depends_on 'dialog' + depends_on "dialog" def install system "./configure", "--prefix=#{prefix}" system "make" - system "make install" + system "make", "install" + end + + test do + system "#{bin}/bashish", "list" end end -- cgit v1.2.3