Skip to content

Commit 9f4dc92

Browse files
authored
Merge pull request #200019 from Homebrew/smug-completion
smug: add completion support
2 parents b2dc8b3 + 1115944 commit 9f4dc92

File tree

1 file changed

+10
-6
lines changed

1 file changed

+10
-6
lines changed

Formula/s/smug.rb

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,18 +6,22 @@ class Smug < Formula
66
license "MIT"
77

88
bottle do
9-
sha256 cellar: :any_skip_relocation, arm64_sequoia: "99c9f43c665d04989bd1be40fc43f0af22b7128244dca7ec86765ce97a51d4fa"
10-
sha256 cellar: :any_skip_relocation, arm64_sonoma: "99c9f43c665d04989bd1be40fc43f0af22b7128244dca7ec86765ce97a51d4fa"
11-
sha256 cellar: :any_skip_relocation, arm64_ventura: "99c9f43c665d04989bd1be40fc43f0af22b7128244dca7ec86765ce97a51d4fa"
12-
sha256 cellar: :any_skip_relocation, sonoma: "2372c79328bd818584bf2f2f4009a3052107f7a7c43395fe40d05710e91e62e0"
13-
sha256 cellar: :any_skip_relocation, ventura: "2372c79328bd818584bf2f2f4009a3052107f7a7c43395fe40d05710e91e62e0"
14-
sha256 cellar: :any_skip_relocation, x86_64_linux: "4ded466ea0f9f4366e6dd19da6209531be19e14a76ba46c72d59c9a9670385cc"
9+
rebuild 1
10+
sha256 cellar: :any_skip_relocation, arm64_sequoia: "b5f45667e3e7a430656241eb38b85cd3d25a8d13159a806b3477148e75cd9c32"
11+
sha256 cellar: :any_skip_relocation, arm64_sonoma: "b5f45667e3e7a430656241eb38b85cd3d25a8d13159a806b3477148e75cd9c32"
12+
sha256 cellar: :any_skip_relocation, arm64_ventura: "b5f45667e3e7a430656241eb38b85cd3d25a8d13159a806b3477148e75cd9c32"
13+
sha256 cellar: :any_skip_relocation, sonoma: "da2615272e49b0c311b196b597bbf9681283b2120931d29292ee38f58cd053e6"
14+
sha256 cellar: :any_skip_relocation, ventura: "da2615272e49b0c311b196b597bbf9681283b2120931d29292ee38f58cd053e6"
15+
sha256 cellar: :any_skip_relocation, x86_64_linux: "262cd8d04d0628dcf493599c3301cf7eafd462a65f030683da7867a1ed7dc208"
1516
end
1617

1718
depends_on "go" => :build
1819

1920
def install
2021
system "go", "build", *std_go_args(ldflags: "-s -w -X main.version=#{version}")
22+
23+
bash_completion.install "completion/smug.bash" => "smug"
24+
fish_completion.install "completion/smug.fish"
2125
end
2226

2327
test do

0 commit comments

Comments
 (0)