diff options
| author | Baptiste Fontaine | 2015-03-10 15:43:22 +0100 |
|---|---|---|
| committer | Mike McQuaid | 2015-03-10 19:05:04 +0000 |
| commit | 83cafc9c05143bc98a3609e4de1d29c0c5bbc4fe (patch) | |
| tree | 730aee763bfb5538c933128f440b7c50e19e4f11 /Library/Formula | |
| parent | bd7fe0ac4daca8392decd10dd39ea168f1c8fd90 (diff) | |
| download | homebrew-83cafc9c05143bc98a3609e4de1d29c0c5bbc4fe.tar.bz2 | |
rush: basic test added
Closes #37571.
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/rush.rb | 19 |
1 files changed, 11 insertions, 8 deletions
diff --git a/Library/Formula/rush.rb b/Library/Formula/rush.rb index d49ece93e..413b50719 100644 --- a/Library/Formula/rush.rb +++ b/Library/Formula/rush.rb @@ -1,14 +1,17 @@ -require 'formula' - class Rush < Formula - homepage 'http://www.gnu.org/software/rush/' - url 'http://ftpmirror.gnu.org/rush/rush-1.7.tar.gz' - mirror 'http://ftp.gnu.org/gnu/rush/rush-1.7.tar.gz' - sha1 'f886eaf093332a8b8503afcf8ca2acff7eea7191' + homepage "https://www.gnu.org/software/rush/" + url "http://ftpmirror.gnu.org/rush/rush-1.7.tar.gz" + mirror "https://ftp.gnu.org/gnu/rush/rush-1.7.tar.gz" + sha256 "35077fa36902fd451db52b49bf059992a20cc8ea031437171f384670d77a003a" def install - system "./configure", "--disable-debug", "--disable-dependency-tracking", + system "./configure", "--disable-debug", + "--disable-dependency-tracking", "--prefix=#{prefix}" - system "make install" + system "make", "install" + end + + test do + system "#{sbin}/rush", "-h" end end |
