diff --git a/Formula/f/f2.rb b/Formula/f/f2.rb index 665270fc5b41..f61d79b3fcee 100644 --- a/Formula/f/f2.rb +++ b/Formula/f/f2.rb @@ -7,18 +7,23 @@ class F2 < Formula head "https://github.com/ayoisaiah/f2.git", branch: "master" bottle do - sha256 cellar: :any_skip_relocation, arm64_sequoia: "102beebfbd41758b97daf1e7046d8f5447e3851f507a07b8fe113c81e96e80f6" - sha256 cellar: :any_skip_relocation, arm64_sonoma: "102beebfbd41758b97daf1e7046d8f5447e3851f507a07b8fe113c81e96e80f6" - sha256 cellar: :any_skip_relocation, arm64_ventura: "102beebfbd41758b97daf1e7046d8f5447e3851f507a07b8fe113c81e96e80f6" - sha256 cellar: :any_skip_relocation, sonoma: "c6a7dd847b9498a136b9680531cd4d99e1faaf320f30a2c51d8b8f31e1998d6f" - sha256 cellar: :any_skip_relocation, ventura: "c6a7dd847b9498a136b9680531cd4d99e1faaf320f30a2c51d8b8f31e1998d6f" - sha256 cellar: :any_skip_relocation, x86_64_linux: "8c197664eb13a389ea69c122ea8dbe4aaeb426c7db9724400631f4aca9a1dd6a" + rebuild 1 + sha256 cellar: :any_skip_relocation, arm64_sequoia: "8302833ac2fb9359a9219c8157f0f2b89cfc0a1c77878d333def7a43386aa33b" + sha256 cellar: :any_skip_relocation, arm64_sonoma: "8302833ac2fb9359a9219c8157f0f2b89cfc0a1c77878d333def7a43386aa33b" + sha256 cellar: :any_skip_relocation, arm64_ventura: "8302833ac2fb9359a9219c8157f0f2b89cfc0a1c77878d333def7a43386aa33b" + sha256 cellar: :any_skip_relocation, sonoma: "8bd506a72e01572496aec534f019ba39752b8f8c9974cdae26c0aad3c2f9b247" + sha256 cellar: :any_skip_relocation, ventura: "8bd506a72e01572496aec534f019ba39752b8f8c9974cdae26c0aad3c2f9b247" + sha256 cellar: :any_skip_relocation, x86_64_linux: "42b70125dde40f56f721d1f02904018d5ce9bfaf048a5c0cd4d22465a2a25851" end depends_on "go" => :build def install - system "go", "build", *std_go_args, "./cmd..." + system "go", "build", *std_go_args(ldflags: "-s -w"), "./cmd/f2" + + bash_completion.install "scripts/completions/f2.bash" => "f2" + fish_completion.install "scripts/completions/f2.fish" + zsh_completion.install "scripts/completions/f2.zsh" => "_f2" end test do