Skip to content

Commit 4e4ff05

Browse files
committed
skate: add completion support
Signed-off-by: Rui Chen <[email protected]>
1 parent 4c3dd2b commit 4e4ff05

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Formula/s/skate.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@ class Skate < Formula
2222
def install
2323
ldflags = "-s -w -X main.Version=#{version}"
2424
system "go", "build", *std_go_args(ldflags:)
25+
26+
generate_completions_from_executable(bin/"skate", "completion")
2527
end
2628

2729
test do

0 commit comments

Comments
 (0)