diff --git a/TOOLS.md b/TOOLS.md index 84a71c4a..8260f91a 100644 --- a/TOOLS.md +++ b/TOOLS.md @@ -66,6 +66,7 @@ See the [Supported tools section in README.md](README.md#supported-tools) for ho | [**trivy**](https://github.com/aquasecurity/trivy) | `$HOME/.install-action/bin` | [GitHub Releases](https://github.com/aquasecurity/trivy/releases) | Linux, macOS, Windows | [Apache-2.0](https://github.com/aquasecurity/trivy/blob/main/LICENSE) | | [**trunk**](https://github.com/trunk-rs/trunk) | `$CARGO_HOME/bin` | [GitHub Releases](https://github.com/trunk-rs/trunk/releases) | Linux, macOS, Windows | [MIT](https://github.com/trunk-rs/trunk/blob/main/LICENSE-MIT) OR [Apache-2.0](https://github.com/trunk-rs/trunk/blob/main/LICENSE-APACHE) | | [**typos**](https://github.com/crate-ci/typos) | `$CARGO_HOME/bin` | [GitHub Releases](https://github.com/crate-ci/typos/releases) | Linux, macOS, Windows | [MIT](https://github.com/crate-ci/typos/blob/master/LICENSE-MIT) OR [Apache-2.0](https://github.com/crate-ci/typos/blob/master/LICENSE-APACHE) | +| [**vacuum**](https://github.com/daveshanley/vacuum) | `$HOME/.install-action/bin` | [GitHub Releases](https://github.com/daveshanley/vacuum/releases) | Linux, macOS, Windows | [MIT](https://github.com/daveshanley/vacuum/blob/main/LICENSE) | | [**valgrind**](https://valgrind.org/) | `/snap/bin` | [snap](https://snapcraft.io/install/valgrind/ubuntu) | Linux | [GPL-2.0](https://sourceware.org/git/?p=valgrind.git;a=blob;f=COPYING;hb=HEAD) | | [**wait-for-them**](https://github.com/shenek/wait-for-them) | `$CARGO_HOME/bin` | [GitHub Releases](https://github.com/shenek/wait-for-them/releases) | Linux, macOS, Windows | [GPL-3.0](https://github.com/shenek/wait-for-them/blob/v0.4.0/Cargo.toml#L7) | | [**wash**](https://github.com/wasmCloud/wasmCloud) | `$CARGO_HOME/bin` | [GitHub Releases](https://github.com/wasmCloud/wasmCloud/releases) | Linux, macOS, Windows | [Apache-2.0](https://github.com/wasmCloud/wasmCloud/blob/main/LICENSE) | diff --git a/main.sh b/main.sh index 62c88004..1e6d3b38 100755 --- a/main.sh +++ b/main.sh @@ -822,7 +822,7 @@ for tool in "${tools[@]}"; do # cargo-zigbuild has no --version flag on `cargo zigbuild` subcommand. cargo-zigbuild) rx "${tool_bin_stem}" --version ;; # deepsource has version command instead of --version flag. - deepsource) rx "${tool_bin_stem}" version ;; + deepsource | vacuum) rx "${tool_bin_stem}" version ;; cargo-*) case "${tool_bin_stem}" in # cargo-valgrind 2.1.0's --version flag just calls cargo's --version flag diff --git a/manifests/vacuum.json b/manifests/vacuum.json new file mode 100644 index 00000000..40d4475d --- /dev/null +++ b/manifests/vacuum.json @@ -0,0 +1,56 @@ +{ + "rust_crate": null, + "template": { + "x86_64_linux_musl": { + "url": "https://github.com/daveshanley/vacuum/releases/download/v${version}/vacuum_${version}_linux_x86_64.tar.gz" + }, + "x86_64_macos": { + "url": "https://github.com/daveshanley/vacuum/releases/download/v${version}/vacuum_${version}_darwin_x86_64.tar.gz" + }, + "x86_64_windows": { + "url": "https://github.com/daveshanley/vacuum/releases/download/v${version}/vacuum_${version}_windows_x86_64.tar.gz" + }, + "aarch64_linux_musl": { + "url": "https://github.com/daveshanley/vacuum/releases/download/v${version}/vacuum_${version}_linux_arm64.tar.gz" + }, + "aarch64_macos": { + "url": "https://github.com/daveshanley/vacuum/releases/download/v${version}/vacuum_${version}_darwin_arm64.tar.gz" + }, + "aarch64_windows": { + "url": "https://github.com/daveshanley/vacuum/releases/download/v${version}/vacuum_${version}_windows_arm64.tar.gz" + } + }, + "license_markdown": "[MIT](https://github.com/daveshanley/vacuum/blob/main/LICENSE)", + "latest": { + "version": "0.17.0" + }, + "0.17": { + "version": "0.17.0" + }, + "0.17.0": { + "x86_64_linux_musl": { + "etag": "0x8DDA6B83F4D30AC", + "checksum": "8f0361fbe9e2d7442782e98edecdb19b2e75d56ac45f4bb192588d03f57b64f9" + }, + "x86_64_macos": { + "etag": "0x8DDA6B83FD942AE", + "checksum": "11019c1e93b8c95f51126e1af28d2cc62c5fc90ba7e10846973c876a27612352" + }, + "x86_64_windows": { + "etag": "0x8DDA6B83F525AFD", + "checksum": "4514ab364f376cb93f4cff23126271b0798b857ece23dd7bc76dac867b8246a0" + }, + "aarch64_linux_musl": { + "etag": "0x8DDA6B83F471D03", + "checksum": "deb21f4d4db3675c51bc770ae01d6603ea0bdc01fc1fb94f894db3f34bdc9264" + }, + "aarch64_macos": { + "etag": "0x8DDA6B83FEDC506", + "checksum": "dd3b43fa596345ef63c762d1abaae15ecb5b6cec3d721fcfced260f7e6793178" + }, + "aarch64_windows": { + "etag": "0x8DDA6B83FD85952", + "checksum": "2696849761308517cfa1ee6e5ab37459d99af05dce0f02f8f539ed67dcabfa55" + } + } +} diff --git a/tools/codegen/base/vacuum.json b/tools/codegen/base/vacuum.json new file mode 100644 index 00000000..a08d2268 --- /dev/null +++ b/tools/codegen/base/vacuum.json @@ -0,0 +1,25 @@ +{ + "repository": "https://github.com/daveshanley/vacuum", + "tag_prefix": "v", + "version_range": ">= 0.17.0", + "platform": { + "x86_64_linux_musl": { + "asset_name": "${package}_${version}_linux_x86_64.tar.gz" + }, + "x86_64_macos": { + "asset_name": "${package}_${version}_darwin_x86_64.tar.gz" + }, + "x86_64_windows": { + "asset_name": "${package}_${version}_windows_x86_64.tar.gz" + }, + "aarch64_linux_musl": { + "asset_name": "${package}_${version}_linux_arm64.tar.gz" + }, + "aarch64_macos": { + "asset_name": "${package}_${version}_darwin_arm64.tar.gz" + }, + "aarch64_windows": { + "asset_name": "${package}_${version}_windows_arm64.tar.gz" + } + } +}