2014-12-19 18:52:01 +00:00
|
|
|
class Carthage < Formula
|
|
|
|
homepage "https://github.com/Carthage/Carthage"
|
2015-02-20 06:07:57 +00:00
|
|
|
url "https://github.com/Carthage/Carthage.git", :tag => "0.6.2",
|
2014-12-19 18:52:01 +00:00
|
|
|
:shallow => false
|
|
|
|
head "https://github.com/Carthage/Carthage.git", :shallow => false
|
|
|
|
|
|
|
|
depends_on :xcode => ["6.1.1", :build]
|
|
|
|
|
2014-12-19 19:31:49 +00:00
|
|
|
bottle do
|
|
|
|
cellar :any
|
2015-02-18 13:21:22 +00:00
|
|
|
sha1 "8836fa7e4397eea1c4cedebd55e7b6a115650154" => :yosemite
|
|
|
|
sha1 "3813ea5d2bad70b0b201fcafaad94d7d0a406b9b" => :mavericks
|
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
|