Skip to content

Commit

Permalink
refactor(dprint): use musl build on linux where available (#31223)
Browse files Browse the repository at this point in the history
  • Loading branch information
scop authored Jan 22, 2025
1 parent 9da484b commit 2c90f25
Show file tree
Hide file tree
Showing 3 changed files with 50 additions and 20 deletions.
2 changes: 2 additions & 0 deletions pkgs/dprint/dprint/pkg.yaml
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
packages:
- name: dprint/[email protected]
- name: dprint/dprint
version: 0.33.0
34 changes: 24 additions & 10 deletions pkgs/dprint/dprint/registry.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,28 @@ packages:
- type: github_release
repo_owner: dprint
repo_name: dprint
asset: dprint-{{.Arch}}-{{.OS}}.zip
description: Pluggable and configurable code formatting platform written in Rust
replacements:
amd64: x86_64
arm64: aarch64
darwin: apple-darwin
linux: unknown-linux-gnu
windows: pc-windows-msvc
supported_envs:
- darwin
- amd64
version_constraint: "false"
version_overrides:
- version_constraint: semver("< 0.34.0")
asset: dprint-{{.Arch}}-{{.OS}}.zip
replacements:
amd64: x86_64
arm64: aarch64
darwin: apple-darwin
linux: unknown-linux-gnu
windows: pc-windows-msvc
supported_envs:
- darwin
- amd64
- version_constraint: "true"
asset: dprint-{{.Arch}}-{{.OS}}.zip
replacements:
amd64: x86_64
arm64: aarch64
darwin: apple-darwin
linux: unknown-linux-musl
windows: pc-windows-msvc
supported_envs:
- darwin
- amd64
34 changes: 24 additions & 10 deletions registry.yaml

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

0 comments on commit 2c90f25

Please sign in to comment.