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