Skip to content

Commit

Permalink
feat: add watchexec/cargo-watch (#21531)
Browse files Browse the repository at this point in the history
* feat: add watchexec/cargo-watch

[watchexec/cargo-watch](https://github.com/watchexec/cargo-watch): Watches over your Cargo project's source

* fix(watchexec/cargo-watch): set files

---------

Co-authored-by: Shunsuke Suzuki <suzuki.shunsuke.1989@gmail.com>
  • Loading branch information
ryoppippi and suzuki-shunsuke committed Apr 3, 2024
1 parent c9caec6 commit 78d2d38
Show file tree
Hide file tree
Showing 3 changed files with 385 additions and 0 deletions.
14 changes: 14 additions & 0 deletions pkgs/watchexec/cargo-watch/pkg.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
packages:
- name: watchexec/cargo-watch@v8.5.2
- name: watchexec/cargo-watch
version: v8.1.2
- name: watchexec/cargo-watch
version: v8.1.1
- name: watchexec/cargo-watch
version: v8.0.0
- name: watchexec/cargo-watch
version: v7.7.2
- name: watchexec/cargo-watch
version: v7.5.1
- name: watchexec/cargo-watch
version: v7.0.5
186 changes: 186 additions & 0 deletions pkgs/watchexec/cargo-watch/registry.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,186 @@
packages:
- type: github_release
repo_owner: watchexec
repo_name: cargo-watch
description: Watches over your Cargo project's source
version_constraint: "false"
version_overrides:
- version_constraint: semver("<= 7.0.1")
no_asset: true
- version_constraint: semver("<= 7.0.5")
asset: cargo-watch-{{.Version}}-{{.Arch}}-{{.OS}}.{{.Format}}
format: tar.xz
rosetta2: true
windows_arm_emulation: true
files:
- name: cargo-watch
src: "{{.AssetWithoutExt}}/cargo-watch"
replacements:
amd64: x86_64
darwin: apple-darwin
linux: unknown-linux-musl
windows: pc-windows-gnu
overrides:
- goos: windows
format: zip
files:
- name: cargo-watch
supported_envs:
- darwin
- windows
- amd64
- version_constraint: semver("<= 7.5.1")
asset: cargo-watch-{{.Version}}-{{.Arch}}-{{.OS}}.{{.Format}}
format: tar.xz
rosetta2: true
windows_arm_emulation: true
files:
- name: cargo-watch
src: "{{.AssetWithoutExt}}/cargo-watch"
replacements:
amd64: x86_64
darwin: apple-darwin
linux: unknown-linux-musl
windows: pc-windows-msvc
overrides:
- goos: windows
format: zip
supported_envs:
- darwin
- windows
- amd64
- version_constraint: semver("<= 7.7.2")
asset: cargo-watch-{{.Version}}-{{.Arch}}-{{.OS}}.{{.Format}}
format: tar.xz
rosetta2: true
windows_arm_emulation: true
files:
- name: cargo-watch
src: "{{.AssetWithoutExt}}/cargo-watch"
replacements:
amd64: x86_64
darwin: apple-darwin
windows: pc-windows-msvc
overrides:
- goos: linux
goarch: amd64
replacements:
linux: unknown-linux-musl
- goos: linux
goarch: arm64
replacements:
arm64: aarch64
linux: unknown-linux-gnu
- goos: windows
format: zip
- version_constraint: semver("<= 8.0.0")
asset: cargo-watch-{{.Version}}-{{.Arch}}-{{.OS}}.{{.Format}}
format: tar.xz
rosetta2: true
files:
- name: cargo-watch
src: "{{.AssetWithoutExt}}/cargo-watch"
replacements:
amd64: x86_64
arm64: aarch64
darwin: apple-darwin
windows: pc-windows-msvc
checksum:
type: github_release
asset: SHA512SUMS
algorithm: sha512
overrides:
- goos: linux
goarch: amd64
replacements:
linux: unknown-linux-musl
- goos: linux
goarch: arm64
replacements:
linux: unknown-linux-gnu
- goos: darwin
replacements:
arm64: arm64
- goos: windows
format: zip
- version_constraint: semver("<= 8.1.1")
asset: cargo-watch-{{.Version}}-{{.Arch}}-{{.OS}}.{{.Format}}
format: tar.xz
files:
- name: cargo-watch
src: "{{.AssetWithoutExt}}/cargo-watch"
replacements:
amd64: x86_64
arm64: aarch64
darwin: apple-darwin
windows: pc-windows-msvc
checksum:
type: github_release
asset: SHA512SUMS
algorithm: sha512
overrides:
- goos: linux
goarch: amd64
replacements:
linux: unknown-linux-musl
- goos: linux
goarch: arm64
replacements:
linux: unknown-linux-gnu
- goos: windows
format: zip
- version_constraint: Version == "v8.1.2"
asset: cargo-watch-{{.Version}}-{{.Arch}}-{{.OS}}.{{.Format}}
format: tar.xz
windows_arm_emulation: true
files:
- name: cargo-watch
src: "{{.AssetWithoutExt}}/cargo-watch"
replacements:
amd64: x86_64
arm64: aarch64
darwin: apple-darwin
windows: pc-windows-msvc
checksum:
type: github_release
asset: SHA512SUMS
algorithm: sha512
overrides:
- goos: linux
goarch: amd64
replacements:
linux: unknown-linux-musl
- goos: linux
goarch: arm64
replacements:
linux: unknown-linux-gnu
- goos: windows
format: zip
replacements:
arm64: arm64
- version_constraint: "true"
asset: cargo-watch-{{.Version}}-{{.Arch}}-{{.OS}}.{{.Format}}
format: tar.xz
files:
- name: cargo-watch
src: "{{.AssetWithoutExt}}/cargo-watch"
replacements:
amd64: x86_64
arm64: aarch64
darwin: apple-darwin
windows: pc-windows-msvc
checksum:
type: github_release
asset: SHA512SUMS
algorithm: sha512
overrides:
- goos: linux
goarch: amd64
replacements:
linux: unknown-linux-musl
- goos: linux
goarch: arm64
replacements:
linux: unknown-linux-gnu
- goos: windows
format: zip
185 changes: 185 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 78d2d38

Please sign in to comment.