23 lines
756 B
Ruby
23 lines
756 B
Ruby
class Carthage < Formula
|
|
homepage "https://github.com/Carthage/Carthage"
|
|
url "https://github.com/Carthage/Carthage.git", :tag => "0.7.3",
|
|
:revision => "ad8fba1a091ae493281ab44953f1e8ca4e6c0405",
|
|
:shallow => false
|
|
head "https://github.com/Carthage/Carthage.git", :shallow => false
|
|
|
|
depends_on :xcode => ["6.3", :build]
|
|
|
|
bottle do
|
|
cellar :any
|
|
sha256 "159591c3d4a8727478205a5391d655b52b2c7051aafd3abce179d8fa0ce8a328" => :yosemite
|
|
end
|
|
|
|
def install
|
|
system "make", "prefix_install", "PREFIX=#{prefix}"
|
|
end
|
|
|
|
test do
|
|
(testpath/"Cartfile").write 'github "jspahrsummers/xcconfigs"'
|
|
system "#{bin}/carthage", "update"
|
|
end
|
|
end
|