homebrew-core/Formula/carthage.rb

25 lines
808 B
Ruby
Raw Normal View History

class Carthage < Formula
desc "Decentralized dependency manager for Cocoa"
homepage "https://github.com/Carthage/Carthage"
url "https://github.com/Carthage/Carthage.git", :tag => "0.7.5",
:revision => "41e93849adcd05d1e2ffc7a7f409c056a23a53ab",
:shallow => false
head "https://github.com/Carthage/Carthage.git", :shallow => false
depends_on :xcode => ["6.3", :build]
2014-12-19 19:31:49 +00:00
bottle do
cellar :any
2015-06-18 05:50:49 +00:00
sha256 "61187391b4ac7a92896aab50b294b1cd721b45c0aa35e87468a96ea075e0cc29" => :yosemite
2014-12-19 19:31:49 +00:00
end
def install
system "make", "prefix_install", "PREFIX=#{prefix}"
end
test do
(testpath/"Cartfile").write 'github "jspahrsummers/xcconfigs"'
system "#{bin}/carthage", "update"
end
end