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"
|
2015-08-07 20:41:49 +00:00
|
|
|
url "https://github.com/Carthage/Carthage.git", :tag => "0.8",
|
|
|
|
:revision => "52e1a006158793eff3c9890f1934f0b7cb64d2b8",
|
2014-12-19 18:52:01 +00:00
|
|
|
:shallow => false
|
|
|
|
head "https://github.com/Carthage/Carthage.git", :shallow => false
|
|
|
|
|
2015-05-06 20:00:47 +00:00
|
|
|
depends_on :xcode => ["6.3", :build]
|
2014-12-19 18:52:01 +00:00
|
|
|
|
2014-12-19 19:31:49 +00:00
|
|
|
bottle do
|
|
|
|
cellar :any
|
2015-08-08 05:55:21 +00:00
|
|
|
sha256 "538dbfb46af97c561845e9e11aa891eed68afb43b493ab8426cad4bfc271dd7b" => :yosemite
|
2014-12-19 19:31:49 +00:00
|
|
|
end
|
|
|
|
|
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
|