213790704b
0.1.7 introduces a new directory layout where the xctool files are stored in bin, lib, and libexec dirs -- https://github.com/facebook/xctool/commit/d6592a7 The old formula will probably break for anyone that tries to use --HEAD :-( Closes Homebrew/homebrew#21199. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
20 lines
487 B
Ruby
20 lines
487 B
Ruby
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
|