diff options
| author | Baptiste Fontaine | 2015-01-04 15:31:08 +0100 | 
|---|---|---|
| committer | Mike McQuaid | 2015-01-04 14:49:46 +0000 | 
| commit | 4963c35e63597ea4a357e2c882bae982d6cf515b (patch) | |
| tree | f4c0d4aa703529820b50788f6b449a05c506071e | |
| parent | 44a9cedc85555abb379dbbee3b0d0f1d7fa44865 (diff) | |
| download | homebrew-4963c35e63597ea4a357e2c882bae982d6cf515b.tar.bz2 | |
bashish: test added
Closes #35544.
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
| -rw-r--r-- | Library/Formula/bashish.rb | 16 | 
1 files changed, 9 insertions, 7 deletions
| 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 | 
