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