diff options
| author | Baptiste Fontaine | 2015-03-10 11:26:02 +0100 |
|---|---|---|
| committer | Mike McQuaid | 2015-03-10 10:45:20 +0000 |
| commit | 059604bbeef3d2bfec4e85bdd27ec2844ca7324d (patch) | |
| tree | f3b09fb2cf5a593fe2a35fa7b163eba8b8af8a26 /Library | |
| parent | 84539f22591cdb1a52dd5724c5efb58b2f05e105 (diff) | |
| download | homebrew-059604bbeef3d2bfec4e85bdd27ec2844ca7324d.tar.bz2 | |
stow: test added
Closes #37556.
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Formula/stow.rb | 17 |
1 files changed, 10 insertions, 7 deletions
diff --git a/Library/Formula/stow.rb b/Library/Formula/stow.rb index fa306fe03..35de9879f 100644 --- a/Library/Formula/stow.rb +++ b/Library/Formula/stow.rb @@ -1,13 +1,16 @@ -require 'formula' - class Stow < Formula - homepage 'http://www.gnu.org/software/stow/' - url 'http://ftpmirror.gnu.org/stow/stow-2.2.0.tar.gz' - mirror 'http://ftp.gnu.org/gnu/stow/stow-2.2.0.tar.gz' - sha1 'b95091be6ebbbac8c5e5112d6d063299c5eefff2' + homepage "https://www.gnu.org/software/stow/" + url "http://ftpmirror.gnu.org/stow/stow-2.2.0.tar.gz" + mirror "https://ftp.gnu.org/gnu/stow/stow-2.2.0.tar.gz" + sha256 "8b89d79939cf9ae87d2f223bb36a3b2d0c66775b62aeb9953c6d33dab40d3c2b" def install system "./configure", "--prefix=#{prefix}" - system "make install" + system "make", "install" + end + + test do + (testpath/"test").mkpath + system "#{bin}/stow", "-nvS", "test" end end |
