From 921fd08bd433fe33f34b03b721a9207b81c5b9de Mon Sep 17 00:00:00 2001 From: Alexander Bayandin Date: Wed, 26 Jun 2024 21:39:55 +0100 Subject: [PATCH] s5cmd: install completion --- Formula/s5cmd.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Formula/s5cmd.rb b/Formula/s5cmd.rb index 79ad0eb..0b5beb6 100644 --- a/Formula/s5cmd.rb +++ b/Formula/s5cmd.rb @@ -4,6 +4,7 @@ class S5cmd < Formula url "https://github.com/peak/s5cmd/archive/refs/tags/v2.2.2.tar.gz" sha256 "6f96a09a13198b84a23b7b7ff0b93f947434a185093284e13d05c0e864907f48" license "MIT" + revision 1 head "https://github.com/peak/s5cmd.git", branch: "master" bottle do @@ -22,6 +23,7 @@ def install -X=github.com/peak/s5cmd/v2/version.GitCommit=#{tap.user} ] system "go", "build", *std_go_args(ldflags:) + generate_completions_from_executable(bin/"s5cmd", "--install-completion") end test do