Skip to content

Commit

Permalink
fix(printfn/fend): Regenerate the setting (#26909)
Browse files Browse the repository at this point in the history
* feat(printfn/fend): scaffold printfn/fend

* refactor(printfn/fend): simplify the code
  • Loading branch information
suzuki-shunsuke authored Sep 16, 2024
1 parent 0fcb326 commit a2f9b2e
Show file tree
Hide file tree
Showing 3 changed files with 170 additions and 96 deletions.
14 changes: 8 additions & 6 deletions pkgs/printfn/fend/pkg.yaml
Original file line number Diff line number Diff line change
@@ -1,14 +1,16 @@
packages:
- name: printfn/fend@v1.5.1
- name: printfn/fend@v1.5.2
- name: printfn/fend
version: v1.0.4
version: v1.5.1
- name: printfn/fend
version: v1.0.0
version: v1.0.5
- name: printfn/fend
version: v1.0.3
- name: printfn/fend
version: v0.1.29
- name: printfn/fend
version: v0.1.27
version: v0.1.28
- name: printfn/fend
version: v0.1.10
version: v0.1.26
- name: printfn/fend
version: v0.1.1
version: v0.1.9
126 changes: 81 additions & 45 deletions pkgs/printfn/fend/registry.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,65 +3,101 @@ packages:
repo_owner: printfn
repo_name: fend
description: Arbitrary-precision unit-aware calculator
asset: fend-{{trimV .Version}}-{{.OS}}-{{.Arch}}.{{.Format}}
format: zip
overrides:
- goos: linux
goarch: arm64
asset: fend-{{trimV .Version}}-{{.OS}}-{{.Arch}}-gnu.{{.Format}}
- goos: windows
asset: fend-{{trimV .Version}}-{{.OS}}-{{.Arch}}-exe.{{.Format}}
replacements:
arm64: arm64
replacements:
amd64: x64
arm64: aarch64
darwin: macos
supported_envs:
- darwin
- linux
- amd64
version_constraint: semver(">= 1.0.4")
version_constraint: "false"
version_overrides:
- version_constraint: semver(">= 1.0.0")
overrides:
- goos: linux
goarch: arm64
asset: fend-{{trimV .Version}}-{{.OS}}-{{.Arch}}-gnu.{{.Format}}
- goos: windows
replacements:
arm64: arm64
- version_constraint: semver(">= 0.1.29")
overrides:
- goos: windows
replacements:
arm64: arm64
- version_constraint: semver(">= 0.1.27")
overrides:
- goos: darwin
replacements:
arm64: aarch64
- version_constraint: semver("<= 0.1.0")
no_asset: true
- version_constraint: semver("<= 0.1.9")
asset: fend-{{trimV .Version}}-{{.OS}}.{{.Format}}
format: zip
rosetta2: true
windows_arm_emulation: true
replacements:
amd64: x64
darwin: macos
supported_envs:
- darwin
- windows
- amd64
- version_constraint: semver(">= 0.1.10")
overrides: []
- version_constraint: semver("<= 0.1.26")
asset: fend-{{trimV .Version}}-{{.OS}}-{{.Arch}}.{{.Format}}
format: zip
rosetta2: true
windows_arm_emulation: true
replacements:
amd64: x64
darwin: macos
supported_envs:
- darwin
- windows
- amd64
rosetta2: true
- version_constraint: semver("< 0.1.10")
asset: fend-{{trimV .Version}}-{{.OS}}.{{.Format}}
overrides: []
- version_constraint: semver("<= 0.1.28")
asset: fend-{{trimV .Version}}-{{.OS}}-{{.Arch}}.{{.Format}}
format: zip
windows_arm_emulation: true
replacements:
amd64: x64
darwin: macos
overrides:
- goos: darwin
replacements:
arm64: aarch64
supported_envs:
- darwin
- windows
- amd64
rosetta2: true
- version_constraint: Version == "v0.1.29"
asset: fend-{{trimV .Version}}-{{.OS}}-{{.Arch}}.{{.Format}}
format: zip
windows_arm_emulation: true
replacements:
amd64: x64
arm64: aarch64
darwin: macos
- version_constraint: semver("<= 1.0.3")
asset: fend-{{trimV .Version}}-{{.OS}}-{{.Arch}}.{{.Format}}
format: zip
windows_arm_emulation: true
replacements:
amd64: x64
arm64: aarch64
darwin: macos
overrides:
- goos: linux
goarch: arm64
asset: fend-{{trimV .Version}}-{{.OS}}-{{.Arch}}-gnu.{{.Format}}
- version_constraint: semver("<= 1.5.1")
asset: fend-{{trimV .Version}}-{{.OS}}-{{.Arch}}.{{.Format}}
format: zip
windows_arm_emulation: true
replacements:
amd64: x64
arm64: aarch64
darwin: macos
overrides:
- goos: linux
goarch: arm64
asset: fend-{{trimV .Version}}-{{.OS}}-{{.Arch}}-gnu.{{.Format}}
- goos: windows
asset: fend-{{trimV .Version}}-{{.OS}}-{{.Arch}}-exe.{{.Format}}
- version_constraint: "true"
asset: fend-{{trimV .Version}}-{{.OS}}-{{.Arch}}-gnu.{{.Format}}
format: zip
windows_arm_emulation: true
replacements:
arm64: aarch64
darwin: macos
overrides:
- goos: linux
replacements:
amd64: x86_64
- goos: darwin
asset: fend-{{trimV .Version}}-{{.OS}}-{{.Arch}}.{{.Format}}
- goos: windows
asset: fend-{{trimV .Version}}-{{.OS}}-{{.Arch}}-exe.{{.Format}}
replacements:
amd64: x64
arm64: arm64
supported_envs:
- linux
- darwin/arm64
- windows/amd64
126 changes: 81 additions & 45 deletions registry.yaml

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

0 comments on commit a2f9b2e

Please sign in to comment.