diff options
| author | Baptiste Fontaine | 2015-02-16 12:01:54 +0100 |
|---|---|---|
| committer | Mike McQuaid | 2015-02-16 13:10:09 +0000 |
| commit | 71d32eb462bdc6e0f9abe4245a56575292c43bb2 (patch) | |
| tree | 32179518112c1d1c286da58549d31f9987903b01 /Library/Formula | |
| parent | 7057b0df0660c35acca08bc6d35e1863e2279c8e (diff) | |
| download | homebrew-71d32eb462bdc6e0f9abe4245a56575292c43bb2.tar.bz2 | |
fex: test added
Closes #36854.
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/fex.rb | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/Library/Formula/fex.rb b/Library/Formula/fex.rb index 1c787e968..352ad9400 100644 --- a/Library/Formula/fex.rb +++ b/Library/Formula/fex.rb @@ -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 |
