Skip to content

Instantly share code, notes, and snippets.

@x2on
Last active August 29, 2015 14:02
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 x2on/383ce6614d2b174f322b to your computer and use it in GitHub Desktop.
Save x2on/383ce6614d2b174f322b to your computer and use it in GitHub Desktop.
AutoScout24 fork with derived data option
require 'formula'
class Xctool < Formula
homepage 'https://github.com/facebook/xctool'
url 'https://github.com/facebook/xctool/archive/v0.2.2.tar.gz'
sha1 '7c1f5610d0543a2a93b87aeebd7dfb642d91d50d'
head 'https://github.com/AutoScout24/xctool.git', :branch => 'teamcity-reporter'
bottle do
cellar :any
sha1 "71034d5372fa3cee7bde82febf2be7dd3d56ec45" => :yosemite
sha1 "5a842c2aac6d6e04ab8d51061fd7052011b6a6b8" => :mavericks
sha1 "384f13a1e0750e1c16cf112eb97c1f44bb724cd2" => :mountain_lion
end
depends_on :xcode => "5.0"
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment