Skip to content

Commit

Permalink
fix(BunrntSushi/ripgrep): Use aarch64 binary after 14.0.0
Browse files Browse the repository at this point in the history
After 14.0.0, ripgrep released aarch64 binary too.
  • Loading branch information
Omochice committed Feb 12, 2024
1 parent 5e1f0aa commit f35a314
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 2 deletions.
10 changes: 9 additions & 1 deletion pkgs/BurntSushi/ripgrep/registry.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@ packages:
repo_name: ripgrep
asset: ripgrep-{{.Version}}-{{.Arch}}-{{.OS}}.{{.Format}}
description: ripgrep recursively searches directories for a regex pattern while respecting your gitignore
rosetta2: true
supported_envs:
- darwin
- amd64
replacements:
arm64: aarch64
amd64: x86_64
darwin: apple-darwin
linux: unknown-linux-musl
Expand All @@ -20,3 +20,11 @@ packages:
files:
- name: rg
src: ripgrep-{{.Version}}-{{.Arch}}-{{.OS}}/rg
version_constraint: semver(">= 14")
version_overrides:
- version_constraint: semver("< 14")
overrides:
- goos: darwin
replacements:
arm64: x86_64
rosetta2: true
10 changes: 9 additions & 1 deletion registry.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit f35a314

Please sign in to comment.