Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add watchexec/cargo-watch #21531

Merged
merged 2 commits into from
Apr 3, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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.