Files
tigerbrew/Library/Formula/xctool.rb
T
Gordon Fontenot b1ba5ba187 xctool: add --HEAD
Closes #19633.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2013-05-06 16:18:53 -07:00

25 lines
718 B
Ruby

require 'formula'
class Xctool < Formula
homepage 'https://github.com/facebook/xctool'
url 'https://github.com/facebook/xctool/archive/v0.1.0.tar.gz'
sha1 'f5cf21d14f26127cea6b6b069fcc2c7387c41af6'
head 'https://github.com/facebook/xctool.git'
depends_on :xcode
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'
end
test do
system "(#{bin}/xctool -help; true)"
end
end