Skip to content

Commit

Permalink
fix(rustwasm/wasm-pack): Regenerate the setting (#29374)
Browse files Browse the repository at this point in the history
* feat(rustwasm/wasm-pack): scaffold rustwasm/wasm-pack

* fix(rustwasm/wasm-pack): set files
  • Loading branch information
suzuki-shunsuke authored Nov 29, 2024
1 parent cc611b1 commit 87d34d0
Show file tree
Hide file tree
Showing 3 changed files with 94 additions and 54 deletions.
8 changes: 2 additions & 6 deletions pkgs/rustwasm/wasm-pack/pkg.yaml
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
packages:
- name: rustwasm/[email protected]
- name: rustwasm/wasm-pack
version: v0.10.3
version: v0.10.1
- name: rustwasm/wasm-pack
version: v0.10.2
- name: rustwasm/wasm-pack
version: v0.5.0
- name: rustwasm/wasm-pack
version: v0.3.0
version: v0.4.2
70 changes: 46 additions & 24 deletions pkgs/rustwasm/wasm-pack/registry.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,33 +3,55 @@ packages:
repo_owner: rustwasm
repo_name: wasm-pack
description: your favorite rust -> wasm workflow tool
asset: wasm-pack-{{.Version}}-{{.Arch}}-{{.OS}}.{{.Format}}
format: tar.gz
replacements:
amd64: x86_64
arm64: aarch64
darwin: apple-darwin
linux: unknown-linux-musl
windows: pc-windows-msvc
supported_envs:
- darwin
- linux
- amd64
rosetta2: true
files:
- name: wasm-pack
src: wasm-pack-{{.Version}}-{{.Arch}}-{{.OS}}/wasm-pack
version_constraint: semver(">= 0.10.3")
version_constraint: "false"
version_overrides:
- version_constraint: semver("= 0.10.2")
- version_constraint: semver("<= 0.2.0")
no_asset: true
- version_constraint: semver("<= 0.4.2")
asset: wasm-pack-{{.Version}}-{{.Arch}}-{{.OS}}.{{.Format}}
format: tar.gz
rosetta2: true
files:
- name: wasm-pack
src: "{{.AssetWithoutExt}}/wasm-pack"
replacements:
amd64: x86_64
darwin: apple-darwin
linux: unknown-linux-musl
supported_envs:
- linux/amd64
- darwin
- linux
- version_constraint: semver(">= 0.5.0")
- version_constraint: semver("<= 0.10.1")
asset: wasm-pack-{{.Version}}-{{.Arch}}-{{.OS}}.{{.Format}}
format: tar.gz
rosetta2: true
windows_arm_emulation: true
files:
- name: wasm-pack
src: "{{.AssetWithoutExt}}/wasm-pack"
replacements:
amd64: x86_64
darwin: apple-darwin
linux: unknown-linux-musl
windows: pc-windows-msvc
supported_envs:
- darwin
- windows
- amd64
- version_constraint: semver("< 0.5.0")
supported_envs:
- linux/amd64
- darwin
- version_constraint: "true"
asset: wasm-pack-{{.Version}}-{{.Arch}}-{{.OS}}.{{.Format}}
format: tar.gz
rosetta2: true
windows_arm_emulation: true
files:
- name: wasm-pack
src: "{{.AssetWithoutExt}}/wasm-pack"
replacements:
amd64: x86_64
darwin: apple-darwin
linux: unknown-linux-musl
windows: pc-windows-msvc
overrides:
- goos: linux
replacements:
arm64: aarch64
70 changes: 46 additions & 24 deletions registry.yaml

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

0 comments on commit 87d34d0

Please sign in to comment.