aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorMike McQuaid2015-04-14 13:20:41 -0700
committerMike McQuaid2015-04-14 13:35:01 -0700
commitc007e34ce73548f0fe4612000f60c93b3873ad8e (patch)
treea4eb76145a31e04dcc6ab02e6443fdc34e6a6c57 /Library/Formula
parent768dc5b7f9b7ae10d00fff5b868635f77d996976 (diff)
downloadhomebrew-c007e34ce73548f0fe4612000f60c93b3873ad8e.tar.bz2
sfcgal: bump revision, add test, cleanup.
Closes #38597 Closes #38649. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/sfcgal.rb8
1 files changed, 5 insertions, 3 deletions
diff --git a/Library/Formula/sfcgal.rb b/Library/Formula/sfcgal.rb
index e8d4f91a0..b262250d6 100644
--- a/Library/Formula/sfcgal.rb
+++ b/Library/Formula/sfcgal.rb
@@ -1,10 +1,8 @@
-require "formula"
-
class Sfcgal < Formula
homepage "http://sfcgal.org/"
url "https://github.com/Oslandia/SFCGAL/archive/v1.0.5.tar.gz"
sha256 "a9cdaf7334bf28dc71c6338d090c1d1402041c5e320b6c2e3669f7758946a01c"
- revision 1
+ revision 2
bottle do
revision 2
@@ -22,4 +20,8 @@ class Sfcgal < Formula
system "cmake", ".", *std_cmake_args
system "make", "install"
end
+
+ test do
+ assert_equal prefix.to_s, shell_output("#{bin}/sfcgal-config --prefix").strip
+ end
end