2014-12-19 18:52:01 +00:00
|
|
|
class Carthage < Formula
|
|
|
|
homepage "https://github.com/Carthage/Carthage"
|
2015-04-07 05:39:53 +00:00
|
|
|
url "https://github.com/Carthage/Carthage.git", :tag => "0.6.4",
|
|
|
|
:revision => "fb67bc83840ca886c5b4a7fac069f08fba147431",
|
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-04-07 08:26:03 +00:00
|
|
|
sha256 "87c17787d448acc647be6df6f3599de1f76f8b8ae25630bb18e4f9a861b5d230" => :yosemite
|
|
|
|
sha256 "017088d077c0d17a11e77e05fee9f4dfa6d862fadbf2aacd381bbc898c04da6a" => :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
|