diff --git a/README.md b/README.md index 27276500..562ff9e6 100644 --- a/README.md +++ b/README.md @@ -97,6 +97,7 @@ https://spdx.org/licenses | [**cargo-no-dev-deps**](https://github.com/taiki-e/cargo-no-dev-deps) | `$CARGO_HOME/bin` | [GitHub Releases](https://github.com/taiki-e/cargo-no-dev-deps/releases) | Linux, macOS, Windows | [Apache-2.0](https://github.com/taiki-e/cargo-no-dev-deps/blob/HEAD/LICENSE-APACHE) OR [MIT](https://github.com/taiki-e/cargo-no-dev-deps/blob/HEAD/LICENSE-MIT) | | [**cargo-rdme**](https://github.com/orium/cargo-rdme) | `$CARGO_HOME/bin` | [GitHub Releases](https://github.com/orium/cargo-rdme/releases) | Linux, macOS, Windows | [MPL-2.0](https://github.com/orium/cargo-rdme/blob/HEAD/LICENSE.md) | | [**cargo-sort**](https://github.com/DevinR528/cargo-sort) | `$CARGO_HOME/bin` | [GitHub Releases](https://github.com/DevinR528/cargo-sort/releases) | Linux, macOS, Windows | [Apache-2.0 OR MIT](https://github.com/DevinR528/cargo-sort/blob/55ec89082466f6bb246d870a8d56d166a8e1f08b/Cargo.toml#L5) | +| [**cargo-spellcheck**](https://github.com/drahnr/cargo-spellcheck) | `$CARGO_HOME/bin` | [GitHub Releases](https://github.com/drahnr/cargo-spellcheck/releases) | Linux and Windows | [LGPLv2.1](https://github.com/drahnr/cargo-spellcheck/blob/f60c81ad0134c12faf08715f08d14f66e749f6e7/docs/checkers.md#nlprules) | | [**cargo-tarpaulin**](https://github.com/xd009642/tarpaulin) | `$CARGO_HOME/bin` | [GitHub Releases](https://github.com/xd009642/tarpaulin/releases) | Linux, macOS, Windows | [Apache-2.0](https://github.com/xd009642/tarpaulin/blob/HEAD/LICENSE-APACHE) OR [MIT](https://github.com/xd009642/tarpaulin/blob/HEAD/LICENSE-MIT) | | [**cargo-udeps**](https://github.com/est31/cargo-udeps) | `$CARGO_HOME/bin` | [GitHub Release](https://github.com/est31/cargo-udeps/releases) | Linux, macOS, Windows | [Apache-2.0 OR MIT](https://github.com/est31/cargo-udeps/blob/HEAD/LICENSE) | | [**cargo-valgrind**](https://github.com/jfrimmel/cargo-valgrind) | `$CARGO_HOME/bin` | [GitHub Release](https://github.com/jfrimmel/cargo-valgrind/releases) | Linux, macOS, Windows | [MIT](https://github.com/jfrimmel/cargo-valgrind/blob/HEAD/LICENSE-MIT) or [Apache-2.0](https://github.com/jfrimmel/cargo-valgrind/blob/HEAD/LICENSE-APACHE) | diff --git a/manifests/cargo-spellcheck.json b/manifests/cargo-spellcheck.json new file mode 100644 index 00000000..19cef80c --- /dev/null +++ b/manifests/cargo-spellcheck.json @@ -0,0 +1,43 @@ +{ + "rust_crate": "cargo-spellcheck", + "template": { + "x86_64_linux_gnu": { + "url": "https://github.com/drahnr/cargo-spellcheck/releases/download/v${version}/cargo-spellcheck-v${version}-x86_64-unknown-linux-gnu", + "bin": "cargo-spellcheck-v${version}-x86_64-unknown-linux-gnu" + }, + "x86_64_windows": { + "url": "https://github.com/drahnr/cargo-spellcheck/releases/download/v${version}/cargo-spellcheck-v${version}-x86_64-pc-windows-gnu.exe", + "bin": "cargo-spellcheck-v${version}-x86_64-pc-windows-gnu.exe" + } + }, + "latest": { + "version": "0.13.2" + }, + "0.13": { + "version": "0.13.2" + }, + "0.13.2": { + "x86_64_linux_gnu": { + "checksum": "f547b8f992dcc43f8a4106bae8b090ecb3fcb7ef6ce336081c22636f70e876d9" + }, + "x86_64_windows": { + "checksum": "f54fb8243497258115d1eb55b99bfc94ab3e09636c78665d3b6410885ba9190a" + } + }, + "0.13.1": { + "x86_64_linux_gnu": { + "checksum": "17af34dbefad5c45d23df3e4e81b0addc78782db0ed2e8e491a1532761463e1e" + }, + "x86_64_windows": { + "checksum": "d18c19a3c5e7eb9ea516e691b54a4517a60517b6b1fb75b7f56a0c1dcc9b177e" + } + }, + "0.13.0": { + "x86_64_linux_gnu": { + "checksum": "41e99240e55f38cc6d43d7ea9f2ccd448f584eefdc262129e4238f057d995923" + }, + "x86_64_windows": { + "checksum": "57d45d5942d7ccd49599aae549c0bd5d906868eaeb39481088e55001d65f4784" + } + } +} diff --git a/tools/ci/tool-list.sh b/tools/ci/tool-list.sh index bdbfe61d..aa4155a5 100755 --- a/tools/ci/tool-list.sh +++ b/tools/ci/tool-list.sh @@ -7,6 +7,7 @@ cd "$(dirname "$0")"/../.. # They don't provide prebuilt binaries for musl or old glibc host. glibc_pre_2_34_incompat=( cargo-cyclonedx + cargo-spellcheck xbuild ) glibc_pre_2_31_incompat=( diff --git a/tools/codegen/base/cargo-spellcheck.json b/tools/codegen/base/cargo-spellcheck.json new file mode 100644 index 00000000..d4459d8b --- /dev/null +++ b/tools/codegen/base/cargo-spellcheck.json @@ -0,0 +1,15 @@ +{ + "repository": "https://github.com/drahnr/cargo-spellcheck", + "tag_prefix": "v", + "rust_crate": "${package}", + "asset_name": "${package}-v${version}-${rust_target}", + "bin": "${package}-v${version}-${rust_target}", + "version_range": ">= 0.13", + "platform": { + "x86_64_windows": { + "asset_name": "${package}-v${version}-x86_64-pc-windows-gnu.exe", + "bin": "${package}-v${version}-x86_64-pc-windows-gnu.exe" + }, + "x86_64_linux_gnu": {} + } +}