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-03-18 13:25:43 +00:00
|
|
|
url "https://github.com/Carthage/Carthage.git", :tag => "0.15.2",
|
|
|
|
:revision => "f811a275aaa06df53119bbfad42af754fb7b6ff7",
|
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-03-18 14:25:41 +00:00
|
|
|
sha256 "f69638fb6e0abbb7d8b95ad83eba19aaac4112bbe21cad0a09876b30de894945" => :el_capitan
|
|
|
|
sha256 "7411d6b369e1462f4c9b5da2aa17e9203e5e4168549328b2d8f8f7444ce5aeb4" => :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
|