From ab25043baeab65dd6b07ed03acbdde8e6ac1c495 Mon Sep 17 00:00:00 2001 From: Branch Vincent Date: Wed, 3 Aug 2022 16:18:36 -0400 Subject: [PATCH] whalebrew: add shell completions --- Formula/whalebrew.rb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Formula/whalebrew.rb b/Formula/whalebrew.rb index 7c08d0e74d7ec..0b7673e67c5a1 100644 --- a/Formula/whalebrew.rb +++ b/Formula/whalebrew.rb @@ -19,7 +19,9 @@ class Whalebrew < Formula depends_on "go" => :build def install - system "go", "build", *std_go_args + system "go", "build", *std_go_args(ldflags: "-s -w") + + generate_completions_from_executable(bin/"whalebrew", "completion") end test do