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-18 13:21:22 +00:00
sha1 "8836fa7e4397eea1c4cedebd55e7b6a115650154" => :yosemite
sha1 "3813ea5d2bad70b0b201fcafaad94d7d0a406b9b" => :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