Skip to content

Instantly share code, notes, and snippets.

@jberkel
Last active December 17, 2015 00:59
Show Gist options
  • Save jberkel/5525293 to your computer and use it in GitHub Desktop.
Save jberkel/5525293 to your computer and use it in GitHub Desktop.
formula for xctool
# to install:
# curl https://raw.github.com/gist/5525293 > /usr/local/Library/Formula/xctool.rb && brew install xctool --HEAD
require 'formula'
class Xctool < Formula
homepage 'https://github.com/facebook/xctool.git'
head 'https://github.com/facebook/xctool.git'
def install
system "./build.sh"
bin.install Dir['build/**/Products/Release/xctool']
cp Dir['build/**/Products/Release/*dylib'], bin
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment