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-11-06 09:41:48 +00:00
|
|
|
url "https://github.com/Carthage/Carthage.git", :tag => "0.10",
|
|
|
|
:revision => "f27cc938b4b8bf9bdd20498c3cc0000346cd9c91",
|
2014-12-19 18:52:01 +00:00
|
|
|
:shallow => false
|
|
|
|
head "https://github.com/Carthage/Carthage.git", :shallow => false
|
|
|
|
|
2015-11-06 09:41:48 +00:00
|
|
|
depends_on :xcode => ["7.1", :build]
|
2014-12-19 18:52:01 +00:00
|
|
|
|
2014-12-19 19:31:49 +00:00
|
|
|
bottle do
|
|
|
|
cellar :any
|
2015-11-06 09:50:56 +00:00
|
|
|
sha256 "95bcaad857704cd09b457ccb7ce41552851c9e3e0f1c5453660eecf25da70413" => :el_capitan
|
|
|
|
sha256 "cf05d3ca3772349e26a7bf843f5eb2eaed1ddfd346967d092162a0794c55dcf0" => :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
|