Skip to content

Commit

Permalink
s5cmd: install completion
Browse files Browse the repository at this point in the history
  • Loading branch information
bayandin committed Jun 26, 2024
1 parent 957f1d6 commit 921fd08
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Formula/s5cmd.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 921fd08

Please sign in to comment.