tre: test added
Closes Homebrew/homebrew#38385. Signed-off-by: Xu Cheng <xucheng@me.com>
This commit is contained in:
parent
4648bd2f66
commit
2f290ec82f
1 changed files with 10 additions and 7 deletions
|
@ -1,13 +1,16 @@
|
|||
require 'formula'
|
||||
|
||||
class Tre < Formula
|
||||
homepage 'http://laurikari.net/tre/'
|
||||
url 'http://laurikari.net/tre/tre-0.8.0.tar.bz2'
|
||||
sha1 'a41692e64b40ebae3cffe83931ddbf8420a10ae3'
|
||||
homepage "http://laurikari.net/tre/"
|
||||
url "http://laurikari.net/tre/tre-0.8.0.tar.bz2"
|
||||
sha256 "8dc642c2cde02b2dac6802cdbe2cda201daf79c4ebcbb3ea133915edf1636658"
|
||||
|
||||
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
|
||||
assert_equal "brow", pipe_output("#{bin}/agrep -1 brew", "brow", 0)
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue