aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula')
-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