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-04-13 12:38:18 +00:00
|
|
|
url "https://github.com/Carthage/Carthage.git", :tag => "0.16.2",
|
|
|
|
:revision => "6f8ab38665f181bb0f49a96c160b3bcd0affb5c9",
|
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-04-13 12:54:53 +00:00
|
|
|
sha256 "c1a55ee5cd53bff41d1cff8669ccdf761f216f2900adb42a2fe97ad1a7e4d0e7" => :el_capitan
|
2014-12-19 19:31:49 +00:00
|
|
|
end
|
|
|
|
|
2016-04-10 15:16:28 +00:00
|
|
|
depends_on :xcode => ["7.3", :build]
|
2015-12-19 06:34:12 +00:00
|
|
|
|
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
|