lean-cli: install bash and zsh completions
Closes #15577. Signed-off-by: ilovezfs <ilovezfs@icloud.com>
This commit is contained in:
parent
553df6635c
commit
45258d8412
1 changed files with 2 additions and 0 deletions
|
@ -22,6 +22,8 @@ class LeanCli < Formula
|
|||
system "go", "build", "-o", bin/"lean",
|
||||
"-ldflags", "-X main.pkgType=#{build_from}",
|
||||
"github.com/leancloud/lean-cli/lean"
|
||||
bash_completion.install "misc/lean-bash-completion" => "lean"
|
||||
zsh_completion.install "misc/lean-zsh-completion" => "_lean"
|
||||
end
|
||||
|
||||
test do
|
||||
|
|
Loading…
Reference in a new issue