aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/afflib.rb
diff options
context:
space:
mode:
authorBaptiste Fontaine2015-02-23 15:07:21 +0100
committerMike McQuaid2015-02-23 17:17:58 +0000
commit80795de4f46f01f167acbf1bb1add88a011386dc (patch)
tree0583791e18984e811a1d8ce9dd10104f7755e4ea /Library/Formula/afflib.rb
parente4251aa557976e696c59f3573d5211e57d874764 (diff)
downloadhomebrew-80795de4f46f01f167acbf1bb1add88a011386dc.tar.bz2
afflib: basic test added
Closes #37109. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
Diffstat (limited to 'Library/Formula/afflib.rb')
-rw-r--r--Library/Formula/afflib.rb8
1 files changed, 5 insertions, 3 deletions
diff --git a/Library/Formula/afflib.rb b/Library/Formula/afflib.rb
index b690163e5..fdd9b0094 100644
--- a/Library/Formula/afflib.rb
+++ b/Library/Formula/afflib.rb
@@ -1,5 +1,3 @@
-require "formula"
-
class Afflib < Formula
homepage "https://github.com/sshock/AFFLIBv3"
url "https://github.com/sshock/AFFLIBv3/archive/v3.7.6.tar.gz"
@@ -33,7 +31,11 @@ class Afflib < Formula
end
system "./configure", *args
- system "make install"
+ system "make", "install"
+ end
+
+ test do
+ system "#{bin}/affcat", "-v"
end
end