carthage: add bash/zsh/fish completions

Closes #3459.

Signed-off-by: Dominyk Tiller <dominyktiller@gmail.com>
This commit is contained in:
Weihang Lo 2016-07-30 23:29:39 +08:00 committed by Dominyk Tiller
parent f0cdef9665
commit ececc21f2c

View file

@ -15,6 +15,9 @@ class Carthage < Formula
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