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.1",
|
|
:revision => "3ac570dd6e0cfc29624c99b4881ac6ddb32290d7",
|
|
:shallow => false
|
|
head "https://github.com/Carthage/Carthage.git", :shallow => false
|
|
|
|
depends_on :xcode => ["6.3", :build]
|
|
|
|
bottle do
|
|
cellar :any
|
|
sha256 "562b2ee4dd925cf67ad21a9a6103550aeba60540f7a669050ae2e5e960b35496" => :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
|