aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/xctool.rb14
1 files changed, 5 insertions, 9 deletions
diff --git a/Library/Formula/xctool.rb b/Library/Formula/xctool.rb
index 78e60bc3e..4173439a2 100644
--- a/Library/Formula/xctool.rb
+++ b/Library/Formula/xctool.rb
@@ -2,20 +2,16 @@ require 'formula'
class Xctool < Formula
homepage 'https://github.com/facebook/xctool'
- url 'https://github.com/facebook/xctool/archive/v0.1.5.tar.gz'
- sha1 '6b7442963a069b28c823c727756c747def29f773'
+ url 'https://github.com/facebook/xctool/archive/v0.1.7.tar.gz'
+ sha1 'd835f1a34d7d11278664162d4361a0bb03941e5d'
head 'https://github.com/facebook/xctool.git'
depends_on :xcode
+ depends_on :macos => :lion
def install
- system './build.sh'
- # Install all files together in libexec so the binary can find the dylibs.
- libexec.install 'build/Products/Release/xctool'
- libexec.install Dir['build/Products/Release/*.dylib']
- libexec.install 'build/Products/Release/mobile-installation-helper.app'
- # Link the binary into bin
- bin.install_symlink libexec/'xctool'
+ system "./build.sh 'XT_INSTALL_ROOT=#{libexec}'"
+ bin.install_symlink "#{libexec}/bin/xctool"
end
test do