aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorChristian Legnitto2014-04-11 11:42:31 -0700
committerAdam Vandenberg2014-04-14 19:40:37 -0700
commit2dbd23ef6a088b9c9486eadf912eedcc056cf8f7 (patch)
treeca7c84ddd4fad69790699ff8eb3a8828c1e35a39 /Library/Formula
parent1ec9f3d0693d4494458536510a337732c402bbb1 (diff)
downloadhomebrew-2dbd23ef6a088b9c9486eadf912eedcc056cf8f7.tar.bz2
xctool 0.1.15
Closes #28331. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/xctool.rb11
1 files changed, 8 insertions, 3 deletions
diff --git a/Library/Formula/xctool.rb b/Library/Formula/xctool.rb
index 9ba1bd75d..259d85095 100644
--- a/Library/Formula/xctool.rb
+++ b/Library/Formula/xctool.rb
@@ -1,13 +1,18 @@
require 'formula'
+class Xcode5 < Requirement
+ fatal true
+ satisfy { MacOS::Xcode.version >= "5.0" }
+end
+
class Xctool < Formula
homepage 'https://github.com/facebook/xctool'
- url 'https://github.com/facebook/xctool/archive/v0.1.14.tar.gz'
- sha1 '57e610081b781b19ec0c0f2ca81d897b708826f4'
+ url 'https://github.com/facebook/xctool/archive/v0.1.15.tar.gz'
+ sha1 'bfa6e02ae0fb90294fe653c55e1a7151877319be'
head 'https://github.com/facebook/xctool.git'
depends_on :xcode
- depends_on :macos => :lion
+ depends_on Xcode5
def install
system "./scripts/build.sh", "XT_INSTALL_ROOT=#{libexec}"