aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorMike McQuaid2014-09-14 08:18:46 +0100
committerMike McQuaid2014-09-14 08:24:48 +0100
commitfe15af002a965301442c01afd452fff4ebb92487 (patch)
treec758dea9aff19b0310315c46bc751678d28a4fa0 /Library
parent1c1999980579b57eacafefe558c4d274284f4ed1 (diff)
downloadhomebrew-fe15af002a965301442c01afd452fff4ebb92487.tar.bz2
cmake: general cleanup
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/cmake.rb10
1 files changed, 5 insertions, 5 deletions
diff --git a/Library/Formula/cmake.rb b/Library/Formula/cmake.rb
index 870896b50..9ea1f4910 100644
--- a/Library/Formula/cmake.rb
+++ b/Library/Formula/cmake.rb
@@ -1,8 +1,8 @@
-require 'formula'
+require "formula"
class NoExpatFramework < Requirement
def expat_framework
- '/Library/Frameworks/expat.framework'
+ "/Library/Frameworks/expat.framework"
end
satisfy :build_env => false do
@@ -62,11 +62,11 @@ class Cmake < Formula
system "./bootstrap", *args
system "make"
- system "make install"
+ system "make", "install"
end
test do
- (testpath/'CMakeLists.txt').write('find_package(Ruby)')
- system "#{bin}/cmake", '.'
+ (testpath/"CMakeLists.txt").write("find_package(Ruby)")
+ system "#{bin}/cmake", "."
end
end