2014-12-19 18:52:01 +00:00
|
|
|
class Carthage < Formula
|
|
|
|
homepage "https://github.com/Carthage/Carthage"
|
2015-05-07 18:38:48 +00:00
|
|
|
url "https://github.com/Carthage/Carthage.git", :tag => "0.7.1",
|
|
|
|
:revision => "3ac570dd6e0cfc29624c99b4881ac6ddb32290d7",
|
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-05-07 18:54:48 +00:00
|
|
|
sha256 "562b2ee4dd925cf67ad21a9a6103550aeba60540f7a669050ae2e5e960b35496" => :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
|