80e29a86d7
Closes #12988. Signed-off-by: Alexander Hamann <neutric@users.noreply.github.com>
29 lines
1 KiB
Ruby
29 lines
1 KiB
Ruby
class Carthage < Formula
|
|
desc "Decentralized dependency manager for Cocoa"
|
|
homepage "https://github.com/Carthage/Carthage"
|
|
url "https://github.com/Carthage/Carthage.git",
|
|
:tag => "0.22.0",
|
|
:revision => "815bc1f366528667be97348de1df99ba59c8530b",
|
|
:shallow => false
|
|
head "https://github.com/Carthage/Carthage.git", :shallow => false
|
|
|
|
bottle do
|
|
cellar :any
|
|
sha256 "7f1383633ff45349dd968120dba62686b7d346079c90cf72776d75084928b8cf" => :sierra
|
|
sha256 "51452cb13a20402aa17ab6638825060d54ccd8084b9a1c33127ebee29e97d60c" => :el_capitan
|
|
end
|
|
|
|
depends_on :xcode => ["8.2", :build]
|
|
|
|
def install
|
|
system "make", "prefix_install", "PREFIX=#{prefix}"
|
|
bash_completion.install "Source/Scripts/carthage-bash-completion" => "carthage"
|
|
zsh_completion.install "Source/Scripts/carthage-zsh-completion" => "_carthage"
|
|
fish_completion.install "Source/Scripts/carthage-fish-completion" => "carthage.fish"
|
|
end
|
|
|
|
test do
|
|
(testpath/"Cartfile").write 'github "jspahrsummers/xcconfigs"'
|
|
system bin/"carthage", "update"
|
|
end
|
|
end
|