Skip to content

Commit 91940fd

Browse files
authored
Merge pull request #200014 from Homebrew/scc-update-build
scc: update go build
2 parents 48fdd8a + b1fa571 commit 91940fd

File tree

1 file changed

+10
-7
lines changed

1 file changed

+10
-7
lines changed

Formula/s/scc.rb

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -11,21 +11,24 @@ class Scc < Formula
1111
end
1212

1313
bottle do
14-
sha256 cellar: :any_skip_relocation, arm64_sequoia: "066e4ba3a8bdbfee0c55f526b329abc80436d9bdafd7f9a7ba4cc9dacf853aff"
15-
sha256 cellar: :any_skip_relocation, arm64_sonoma: "066e4ba3a8bdbfee0c55f526b329abc80436d9bdafd7f9a7ba4cc9dacf853aff"
16-
sha256 cellar: :any_skip_relocation, arm64_ventura: "066e4ba3a8bdbfee0c55f526b329abc80436d9bdafd7f9a7ba4cc9dacf853aff"
17-
sha256 cellar: :any_skip_relocation, sonoma: "46dc8b9901b3c5129b8433cef45045c8967999b81bb8e12e67cd6432f520262e"
18-
sha256 cellar: :any_skip_relocation, ventura: "46dc8b9901b3c5129b8433cef45045c8967999b81bb8e12e67cd6432f520262e"
19-
sha256 cellar: :any_skip_relocation, x86_64_linux: "f65cf401710b86fdad845db3d11ecd288b962eb4525878dde82cbb8929cdce6c"
14+
rebuild 1
15+
sha256 cellar: :any_skip_relocation, arm64_sequoia: "bb86cdc318f3370a0f47db951546e7684b214afc3523c3a261d99ae9eec8f2bb"
16+
sha256 cellar: :any_skip_relocation, arm64_sonoma: "bb86cdc318f3370a0f47db951546e7684b214afc3523c3a261d99ae9eec8f2bb"
17+
sha256 cellar: :any_skip_relocation, arm64_ventura: "bb86cdc318f3370a0f47db951546e7684b214afc3523c3a261d99ae9eec8f2bb"
18+
sha256 cellar: :any_skip_relocation, sonoma: "894648811fb90e07ddbf2a52fd9f8674bcd16e5030e91995c77712374b2305a3"
19+
sha256 cellar: :any_skip_relocation, ventura: "894648811fb90e07ddbf2a52fd9f8674bcd16e5030e91995c77712374b2305a3"
20+
sha256 cellar: :any_skip_relocation, x86_64_linux: "817d422921d1f0c9c1ddcea9f7f587f276b353a9e8c3f1ef1bcd38df312ac0eb"
2021
end
2122

2223
depends_on "go" => :build
2324

2425
def install
25-
system "go", "build", *std_go_args
26+
system "go", "build", *std_go_args(ldflags: "-s -w")
2627
end
2728

2829
test do
30+
assert_match version.to_s, shell_output("#{bin}/scc --version")
31+
2932
(testpath/"test.c").write <<~C
3033
#include <stdio.h>
3134
int main(void) {

0 commit comments

Comments
 (0)