diff --git a/.github/.cspell/project-dictionary.txt b/.github/.cspell/project-dictionary.txt index ef713a19..b25c2958 100644 --- a/.github/.cspell/project-dictionary.txt +++ b/.github/.cspell/project-dictionary.txt @@ -3,6 +3,7 @@ archlinux binstall callgrind coreutils +covgate cyclonedx cygdrive deadlinks diff --git a/TOOLS.md b/TOOLS.md index e5c041fe..06d9d4ab 100644 --- a/TOOLS.md +++ b/TOOLS.md @@ -45,6 +45,7 @@ See the [Supported tools section in README.md](README.md#supported-tools) for ho | [**cargo-valgrind**](https://github.com/jfrimmel/cargo-valgrind) | `$CARGO_HOME/bin` | [GitHub Releases](https://github.com/jfrimmel/cargo-valgrind/releases) | Linux, macOS, Windows | [MIT](https://github.com/jfrimmel/cargo-valgrind/blob/master/LICENSE-MIT) OR [Apache-2.0](https://github.com/jfrimmel/cargo-valgrind/blob/master/LICENSE-APACHE) | | [**cargo-zigbuild**](https://github.com/rust-cross/cargo-zigbuild) | `$CARGO_HOME/bin` | [GitHub Releases](https://github.com/rust-cross/cargo-zigbuild/releases) | Linux, macOS, Windows | [MIT](https://github.com/rust-cross/cargo-zigbuild/blob/main/LICENSE) | | [**coreutils**](https://github.com/uutils/coreutils) | `$CARGO_HOME/bin` | [GitHub Releases](https://github.com/uutils/coreutils/releases) | Linux, macOS, Windows | [MIT](https://github.com/uutils/coreutils/blob/main/LICENSE) | +| [**covgate**](https://github.com/jesse-black/covgate) | `$CARGO_HOME/bin` | [GitHub Releases](https://github.com/jesse-black/covgate/releases) | Linux, macOS, Windows | [Apache-2.0](https://github.com/jesse-black/covgate/blob/main/LICENSE) | | [**cross**](https://github.com/cross-rs/cross) | `$CARGO_HOME/bin` | [GitHub Releases](https://github.com/cross-rs/cross/releases) | Linux, macOS, Windows | [MIT](https://github.com/cross-rs/cross/blob/main/LICENSE-MIT) OR [Apache-2.0](https://github.com/cross-rs/cross/blob/main/LICENSE-APACHE) | | [**cyclonedx**](https://github.com/CycloneDX/cyclonedx-cli) | `$HOME/.install-action/bin` | [GitHub Releases](https://github.com/CycloneDX/cyclonedx-cli/releases) | Linux, macOS, Windows | [Apache-2.0](https://github.com/CycloneDX/cyclonedx-cli/blob/main/LICENSE) | | [**deepsource**](https://github.com/DeepSourceCorp/cli) | `$HOME/.install-action/bin` | [GitHub Releases](https://github.com/DeepSourceCorp/cli/releases) | Linux, macOS, Windows | [BSD-2-Clause](https://github.com/DeepSourceCorp/cli/blob/master/LICENSE) | diff --git a/manifests/covgate.json b/manifests/covgate.json new file mode 100644 index 00000000..36e57680 --- /dev/null +++ b/manifests/covgate.json @@ -0,0 +1,64 @@ +{ + "rust_crate": "covgate", + "template": { + "x86_64_linux_musl": { + "url": "https://github.com/jesse-black/covgate/releases/download/v${version}/covgate-v${version}-x86_64-unknown-linux-musl.tar.gz", + "bin": "covgate-v${version}-x86_64-unknown-linux-musl/covgate" + }, + "x86_64_windows": { + "url": "https://github.com/jesse-black/covgate/releases/download/v${version}/covgate-v${version}-x86_64-pc-windows-msvc.zip", + "bin": "covgate-v${version}-x86_64-pc-windows-msvc/covgate.exe" + }, + "aarch64_linux_musl": { + "url": "https://github.com/jesse-black/covgate/releases/download/v${version}/covgate-v${version}-aarch64-unknown-linux-musl.tar.gz", + "bin": "covgate-v${version}-aarch64-unknown-linux-musl/covgate" + }, + "aarch64_macos": { + "url": "https://github.com/jesse-black/covgate/releases/download/v${version}/covgate-v${version}-aarch64-apple-darwin.tar.gz", + "bin": "covgate-v${version}-aarch64-apple-darwin/covgate" + } + }, + "license_markdown": "[Apache-2.0](https://github.com/jesse-black/covgate/blob/main/LICENSE)", + "latest": { + "version": "0.1.1" + }, + "0.1": { + "version": "0.1.1" + }, + "0.1.1": { + "x86_64_linux_musl": { + "etag": "0x8DE892120A499FC", + "hash": "9caddce96293c8eb64e8226b6db9aa3c8ee48aca781762d3d17995b8d9896660" + }, + "x86_64_windows": { + "etag": "0x8DE892120854E4C", + "hash": "d69185167aeeebbb1d647551968fc7342ea3140f4c8067f3b6399f4c0a7b15a2" + }, + "aarch64_linux_musl": { + "etag": "0x8DE892120B04CA9", + "hash": "6aad7326f2604a1c0e06390daf2eb7d5c3e45f341abd135bfdecf89fac8a0bef" + }, + "aarch64_macos": { + "etag": "0x8DE8921208CBFFC", + "hash": "43b7a648f1888b4ea5260f44d33b88fcdc11728ef7eaf328f00a3e52329f1c45" + } + }, + "0.1.0": { + "x86_64_linux_musl": { + "etag": "0x8DE86A9F48F07CA", + "hash": "28ac6cb68e44e56b6590463668199c51deba709ae0b647c69837c98a85629a70" + }, + "x86_64_windows": { + "etag": "0x8DE86A9F48AC6D3", + "hash": "20f9f86605ddf27ac7dd1e57bcd3ea61be16febb1b621b12295f9003d657a473" + }, + "aarch64_linux_musl": { + "etag": "0x8DE86A9F48EE0E6", + "hash": "85fe8bad3b6fef936b4ed247b103b58ceadfd92e6f7cbc79ade41290fd7eb018" + }, + "aarch64_macos": { + "etag": "0x8DE86A9F48B6265", + "hash": "56363d4ec10d1bb8174cc4a5d2b9589cde4fc487aeb72333c84944d7e8063f78" + } + } +} diff --git a/tools/codegen/base/covgate.json b/tools/codegen/base/covgate.json new file mode 100644 index 00000000..b01b1246 --- /dev/null +++ b/tools/codegen/base/covgate.json @@ -0,0 +1,22 @@ +{ + "repository": "https://github.com/jesse-black/covgate", + "tag_prefix": "v", + "rust_crate": "${package}", + "asset_name": "${package}-v${version}-${rust_target}.tar.gz", + "bin": "${package}-v${version}-${rust_target}/${package}${exe}", + "signing": { + "kind": { + "gh-attestation": { + "signer-workflow": "${repo}/.github/workflows/release.yml" + } + } + }, + "platform": { + "x86_64_linux_musl": {}, + "x86_64_windows": { + "asset_name": "${package}-v${version}-${rust_target}.zip" + }, + "aarch64_linux_musl": {}, + "aarch64_macos": {} + } +}