homebrew-core/Formula/xctool.rb
BrewTestBot 9c87e5bbe1 xctool: update 0.1.16 bottle.
Conflicts:
	Library/Formula/xctool.rb
2014-05-28 20:29:57 -05:00

30 lines
732 B
Ruby

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.16.tar.gz'
sha1 'c4161403b5f742467b37fd41887fde3d99a5989d'
head 'https://github.com/facebook/xctool.git'
bottle do
sha1 "67acdcac257dd59be63b1ac36b717b5378ad9330" => :mavericks
sha1 "326a29618711ba2233f5602c30f7bce74b4fe8ff" => :mountain_lion
end
depends_on :xcode
depends_on Xcode5
def install
system "./scripts/build.sh", "XT_INSTALL_ROOT=#{libexec}"
bin.install_symlink "#{libexec}/bin/xctool"
end
test do
system "(#{bin}/xctool -help; true)"
end
end