23 lines
691 B
Ruby
23 lines
691 B
Ruby
class Carthage < Formula
|
|
homepage "https://github.com/Carthage/Carthage"
|
|
url "https://github.com/Carthage/Carthage.git", :tag => "0.6.1",
|
|
:shallow => false
|
|
head "https://github.com/Carthage/Carthage.git", :shallow => false
|
|
|
|
depends_on :xcode => ["6.1.1", :build]
|
|
|
|
bottle do
|
|
cellar :any
|
|
sha1 "8836fa7e4397eea1c4cedebd55e7b6a115650154" => :yosemite
|
|
sha1 "3813ea5d2bad70b0b201fcafaad94d7d0a406b9b" => :mavericks
|
|
end
|
|
|
|
def install
|
|
system "make", "prefix_install", "PREFIX=#{prefix}"
|
|
end
|
|
|
|
test do
|
|
(testpath/"Cartfile").write 'github "jspahrsummers/xcconfigs"'
|
|
system "#{bin}/carthage", "update"
|
|
end
|
|
end
|