2014-12-19 18:52:01 +00:00
|
|
|
class Carthage < Formula
|
2015-05-19 00:00:59 +00:00
|
|
|
desc "Decentralized dependency manager for Cocoa"
|
2014-12-19 18:52:01 +00:00
|
|
|
homepage "https://github.com/Carthage/Carthage"
|
2016-02-01 01:15:57 +00:00
|
|
|
url "https://github.com/Carthage/Carthage.git", :tag => "0.12",
|
|
|
|
:revision => "3b615ca1e6df2d3a531f9c579cbbd6fa8a7c8fbc",
|
2014-12-19 18:52:01 +00:00
|
|
|
:shallow => false
|
|
|
|
head "https://github.com/Carthage/Carthage.git", :shallow => false
|
|
|
|
|
2014-12-19 19:31:49 +00:00
|
|
|
bottle do
|
|
|
|
cellar :any
|
2016-02-01 04:19:02 +00:00
|
|
|
sha256 "7326aefe3c41e9b2a6ce0ba76292e3ac1d64be4ecd2d4881f67fdef34b272700" => :el_capitan
|
|
|
|
sha256 "bf640cab958663bbf03d6f2e803d70b0f8e45bf2759397c38c0929095afa9a94" => :yosemite
|
2014-12-19 19:31:49 +00:00
|
|
|
end
|
|
|
|
|
2015-12-19 06:34:12 +00:00
|
|
|
depends_on :xcode => ["7.1", :build]
|
|
|
|
|
2014-12-19 18:52:01 +00:00
|
|
|
def install
|
|
|
|
system "make", "prefix_install", "PREFIX=#{prefix}"
|
|
|
|
end
|
|
|
|
|
|
|
|
test do
|
|
|
|
(testpath/"Cartfile").write 'github "jspahrsummers/xcconfigs"'
|
|
|
|
system "#{bin}/carthage", "update"
|
|
|
|
end
|
|
|
|
end
|