rclone: add bash-completion
Closes #8745. Signed-off-by: William Woodruff <william@tuffbizz.com>
This commit is contained in:
parent
75caa601d2
commit
30c784a428
1 changed files with 3 additions and 0 deletions
|
@ -160,6 +160,9 @@ class Rclone < Formula
|
|||
ln_s buildpath, buildpath/"src/github.com/ncw/rclone"
|
||||
Language::Go.stage_deps resources, buildpath/"src"
|
||||
system "go", "build", "-o", bin/"rclone"
|
||||
|
||||
system bin/"rclone", "genautocomplete", "bash_completion"
|
||||
bash_completion.install "bash_completion" => "rclone"
|
||||
end
|
||||
|
||||
test do
|
||||
|
|
Loading…
Reference in a new issue