homebrew-core/Formula/carthage.rb

24 lines
691 B
Ruby
Raw Normal View History

class Carthage < Formula
homepage "https://github.com/Carthage/Carthage"
url "https://github.com/Carthage/Carthage.git", :tag => "0.6.2",
: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-20 09:13:19 +00:00
sha1 "dde8190c8b66184fd85111b739039aefb5d050a9" => :yosemite
sha1 "b663dcf2608c97c7542121eb1a011ca7d0df70cd" => :mavericks
2014-12-19 19:31:49 +00:00
end
def install
system "make", "prefix_install", "PREFIX=#{prefix}"
end
test do
(testpath/"Cartfile").write 'github "jspahrsummers/xcconfigs"'
system "#{bin}/carthage", "update"
end
end