fex: test added
Closes Homebrew/homebrew#36854. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
This commit is contained in:
parent
0d543a6fc7
commit
7fe4a62093
1 changed files with 8 additions and 7 deletions
|
@ -1,12 +1,13 @@
|
|||
require 'formula'
|
||||
|
||||
class Fex < Formula
|
||||
homepage 'http://www.semicomplete.com/projects/fex/'
|
||||
url 'https://semicomplete.googlecode.com/files/fex-2.0.0.tar.gz'
|
||||
sha1 '014938009ffe0b2ec3d1293154a22e4a40fee4a9'
|
||||
homepage "http://www.semicomplete.com/projects/fex/"
|
||||
url "https://semicomplete.googlecode.com/files/fex-2.0.0.tar.gz"
|
||||
sha1 "014938009ffe0b2ec3d1293154a22e4a40fee4a9"
|
||||
|
||||
def install
|
||||
ENV['PREFIX'] = prefix
|
||||
system "make install"
|
||||
system "make", "install", "PREFIX=#{prefix}"
|
||||
end
|
||||
|
||||
test do
|
||||
assert_equal "foo", pipe_output("#{bin}/fex 1", "foo bar", 0).chomp
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue