@@ -4,6 +4,7 @@ class FlowCli < Formula
44 url "https://github.com/onflow/flow-cli/archive/refs/tags/v2.15.0.tar.gz"
55 sha256 "079ad60a0bae0dd937c2fc1111a8e650aff2ea709e76cce5e6bd85e6dbe1d327"
66 license "Apache-2.0"
7+ revision 1
78 head "https://github.com/onflow/flow-cli.git" , branch : "master"
89
910 livecheck do
@@ -12,27 +13,21 @@ class FlowCli < Formula
1213 end
1314
1415 bottle do
15- sha256 cellar : :any_skip_relocation , arm64_tahoe : "027febf03edef23125e936dd6faa4619831d09a4956cc6e2c3227a926eedc96c "
16- sha256 cellar : :any_skip_relocation , arm64_sequoia : "a75791bbd9168c39261113d27a531b83137f5104dad0f66d50a32839b7990696 "
17- sha256 cellar : :any_skip_relocation , arm64_sonoma : "36dfa8506b162d168a430895b98b4c1057c689caef557d63114e5aff504e9200 "
18- sha256 cellar : :any_skip_relocation , sonoma : "812d2621bf94a09caf857d543d8874f50975958f11a230446a4168235f151862 "
19- sha256 cellar : :any_skip_relocation , arm64_linux : "bd5f91ef3f9fb7234ac256dc241435546a986e2abdfca73416747094cd981714 "
20- sha256 cellar : :any_skip_relocation , x86_64_linux : "8870e5e0deeac62ca2708fab97b7ca18ba6bc053e0e4cf154b399bd71961158d "
16+ sha256 cellar : :any_skip_relocation , arm64_tahoe : "0e8440379ca40172d6332a128fc199e707356083c79af13cdb59dd0e1a071ec8 "
17+ sha256 cellar : :any_skip_relocation , arm64_sequoia : "3ca806289a3ae033d2938b50f257faa9f0514f3d92ce213fd1988bf55cd23ae4 "
18+ sha256 cellar : :any_skip_relocation , arm64_sonoma : "93464774235c6e45aa5a5087cd4b54075785e0fd63e31dff349df57abcf3debf "
19+ sha256 cellar : :any_skip_relocation , sonoma : "37f497158c1cb8404b7ecc95122f6b27a6fd0ac50a5b47e0aba04eaa00c916fa "
20+ sha256 cellar : :any_skip_relocation , arm64_linux : "916eff7c5a2753a3ee9570ef19b5a7afacf16268e1037729edc29e9524eb5bc4 "
21+ sha256 cellar : :any_skip_relocation , x86_64_linux : "1eb4b84da6d5715578dc268f42d4b03305261cb1863f48926b9e7eaa865d34ad "
2122 end
2223
2324 depends_on "go@1.25" => :build
2425
2526 conflicts_with "flow" , because : "both install `flow` binaries"
2627
2728 def install
28- ENV [ "CGO_ENABLED" ] = "1" if OS . linux? && Hardware ::CPU . arm?
29-
30- ldflags = %W[
31- -s -w
32- -X github.com/onflow/flow-cli/build.semver=v#{ version }
33- -X github.com/onflow/flow-cli/build.commit=homebrew
34- ]
35- system "go" , "build" , *std_go_args ( ldflags :, output : bin /"flow" ) , "./cmd/flow"
29+ system "make" , "cmd/flow/flow" , "VERSION=v#{ version } "
30+ bin . install "cmd/flow/flow"
3631
3732 generate_completions_from_executable ( bin /"flow" , shell_parameter_format : :cobra )
3833 end
0 commit comments