Skip to content

Commit

Permalink
feat: add toshimaru/nyan (#22316)
Browse files Browse the repository at this point in the history
* feat: add toshimaru/nyan

* fix(toshimaru/nyan): regenerate the setting

```sh
cmdx s toshimaru/nyan
```

* refactor(toshimaru/nyan): fix version constraint

---------

Co-authored-by: Shunsuke Suzuki <suzuki.shunsuke.1989@gmail.com>
  • Loading branch information
ishii1648 and suzuki-shunsuke committed Apr 29, 2024
1 parent 05ab1fa commit 2c5d075
Show file tree
Hide file tree
Showing 3 changed files with 237 additions and 0 deletions.
14 changes: 14 additions & 0 deletions pkgs/toshimaru/nyan/pkg.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
packages:
- name: toshimaru/nyan@v1.0.10
- name: toshimaru/nyan
version: v1.0.5
- name: toshimaru/nyan
version: v0.9.6
- name: toshimaru/nyan
version: v0.9.2
- name: toshimaru/nyan
version: v0.9.0
- name: toshimaru/nyan
version: v0.1.0
- name: toshimaru/nyan
version: v0.0.0
112 changes: 112 additions & 0 deletions pkgs/toshimaru/nyan/registry.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,112 @@
packages:
- type: github_release
repo_owner: toshimaru
repo_name: nyan
description: Colored `cat` command
version_constraint: "false"
version_overrides:
- version_constraint: Version == "v0.0.0"
asset: nyan_{{trimV .Version}}_{{.OS}}_{{.Arch}}.{{.Format}}
format: tar.gz
rosetta2: true
replacements:
amd64: x86_64
darwin: Darwin
linux: Linux
checksum:
type: github_release
asset: checksums.txt
algorithm: sha256
supported_envs:
- linux/amd64
- darwin
- version_constraint: semver("<= 0.1.0")
asset: nyan_{{.OS}}_{{.Arch}}.{{.Format}}
format: tar.gz
rosetta2: true
replacements:
amd64: x86_64
darwin: Darwin
linux: Linux
checksum:
type: github_release
asset: checksums.txt
algorithm: sha256
supported_envs:
- linux/amd64
- darwin
- version_constraint: semver("<= 0.9.0")
asset: nyan_{{.OS}}_{{.Arch}}.{{.Format}}
format: tar.gz
rosetta2: true
windows_arm_emulation: true
replacements:
amd64: x86_64
darwin: Darwin
linux: Linux
windows: Windows
checksum:
type: github_release
asset: checksums.txt
algorithm: sha256
supported_envs:
- darwin
- windows
- amd64
- version_constraint: semver("<= 0.9.2")
asset: nyan_{{.OS}}_{{.Arch}}.{{.Format}}
format: tar.gz
windows_arm_emulation: true
replacements:
amd64: x86_64
darwin: Darwin
linux: Linux
windows: Windows
checksum:
type: github_release
asset: checksums.txt
algorithm: sha256
- version_constraint: semver("<= 0.9.6")
asset: nyan_{{.OS}}_{{.Arch}}.{{.Format}}
format: tar.gz
windows_arm_emulation: true
replacements:
amd64: x86_64
darwin: Darwin
linux: Linux
windows: Windows
checksum:
type: github_release
asset: nyan_checksums.txt
algorithm: sha256
- version_constraint: semver("<= 1.0.5")
asset: nyan_{{.OS}}_{{.Arch}}.{{.Format}}
format: tar.gz
windows_arm_emulation: true
replacements:
amd64: x86_64
darwin: Darwin
linux: Linux
windows: Windows
checksum:
type: github_release
asset: checksums.txt
algorithm: sha256
overrides:
- goos: windows
format: zip
- version_constraint: "true"
asset: nyan_{{.OS}}_{{.Arch}}.{{.Format}}
format: tar.gz
windows_arm_emulation: true
replacements:
darwin: Darwin
linux: Linux
windows: Windows
checksum:
type: github_release
asset: checksums.txt
algorithm: sha256
overrides:
- goos: windows
format: zip
111 changes: 111 additions & 0 deletions registry.yaml

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

0 comments on commit 2c5d075

Please sign in to comment.