class Carthage < Formula desc "Decentralized dependency manager for Cocoa" homepage "https://github.com/Carthage/Carthage" url "https://github.com/Carthage/Carthage.git", :tag => "0.16.2", :revision => "6f8ab38665f181bb0f49a96c160b3bcd0affb5c9", :shallow => false head "https://github.com/Carthage/Carthage.git", :shallow => false bottle do cellar :any sha256 "c1a55ee5cd53bff41d1cff8669ccdf761f216f2900adb42a2fe97ad1a7e4d0e7" => :el_capitan end depends_on :xcode => ["7.3", :build] def install system "make", "prefix_install", "PREFIX=#{prefix}" end test do (testpath/"Cartfile").write 'github "jspahrsummers/xcconfigs"' system "#{bin}/carthage", "update" end end