Skip to content

Commit

Permalink
Add prefer_system to the golang recipe
Browse files Browse the repository at this point in the history
prefer_system has priority over prefer_system_check and by default
it's not matching any architecture.
  • Loading branch information
ktf committed May 23, 2024
1 parent e73499e commit e09528d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions golang.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ package: golang
version: "1.22.2"
build_requires:
- curl
prefer_system: ".*"
prefer_system_check: |
type go && case `go version | sed -e 's/go version go//' | sed -e 's/ .*//'` in 0*|1.[0-9].*) exit 1 ;; esac
---
Expand Down

0 comments on commit e09528d

Please sign in to comment.