homebrew-core/Formula/xctool.rb

21 lines
487 B
Ruby
Raw Normal View History

require 'formula'
class Xctool < Formula
homepage 'https://github.com/facebook/xctool'
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 'XT_INSTALL_ROOT=#{libexec}'"
bin.install_symlink "#{libexec}/bin/xctool"
end
test do
system "(#{bin}/xctool -help; true)"
end
end