Skip to content

Instantly share code, notes, and snippets.

@jberkel
Last active December 17, 2015 00:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • 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