Skip to content

Commit d8d3d13

Browse files
authored
Merge pull request #221541 from Homebrew/remove-go-mod
formulae: remove `go mod tidy` step
2 parents 9d161d5 + 5b5a01d commit d8d3d13

File tree

2 files changed

+1
-6
lines changed

2 files changed

+1
-6
lines changed

Formula/g/gollama.rb

+1-4
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,7 @@ class Gollama < Formula
1919
depends_on "ollama" => :test
2020

2121
def install
22-
system "go", "mod", "tidy"
23-
24-
ldflags = "-s -w -X main.Version=#{version}"
25-
system "go", "build", *std_go_args(ldflags:)
22+
system "go", "build", *std_go_args(ldflags: "-s -w -X main.Version=#{version}")
2623
end
2724

2825
test do

Formula/s/sops.rb

-2
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,6 @@ class Sops < Formula
1818
depends_on "go" => :build
1919

2020
def install
21-
system "go", "mod", "tidy"
22-
2321
ldflags = "-s -w -X github.com/getsops/sops/v3/version.Version=#{version}"
2422
system "go", "build", *std_go_args(ldflags:), "./cmd/sops"
2523
pkgshare.install "example.yaml"

0 commit comments

Comments
 (0)