Skip to content

Commit

Permalink
baidupcs-go: build with go@1.22
Browse files Browse the repository at this point in the history
use "go" again when qjfoidnh/BaiduPCS-Go#336 is resolved and released

To be merged after #175310
  • Loading branch information
stefanb committed Aug 16, 2024
1 parent 949c01f commit 508e15c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Formula/b/baidupcs-go.rb
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@ class BaidupcsGo < Formula
sha256 cellar: :any_skip_relocation, x86_64_linux: "9c2c291fef9739671cc34200270e1f2f1d105332a6850f1d8e76af3e72834f31"
end

depends_on "go" => :build
# use "go" again when https://github.com/qjfoidnh/BaiduPCS-Go/issues/336 is resolved and released
depends_on "go@1.22" => :build

def install
system "go", "build", *std_go_args(ldflags: "-s -w")
Expand Down

0 comments on commit 508e15c

Please sign in to comment.