diff --git a/TOOLS.md b/TOOLS.md index 5093dc3e..345907a8 100644 --- a/TOOLS.md +++ b/TOOLS.md @@ -58,6 +58,7 @@ If a tool not included in the list below is specified, this action uses [cargo-b | [**wasm-pack**](https://github.com/rustwasm/wasm-pack) | `$CARGO_HOME/bin` | [GitHub Releases](https://github.com/rustwasm/wasm-pack/releases) | Linux, macOS, Windows | [MIT](https://github.com/rustwasm/wasm-pack/blob/master/LICENSE-MIT) OR [Apache-2.0](https://github.com/rustwasm/wasm-pack/blob/master/LICENSE-APACHE) | | [**wasmtime**](https://github.com/bytecodealliance/wasmtime) | `$CARGO_HOME/bin` | [GitHub Releases](https://github.com/bytecodealliance/wasmtime/releases) | Linux, macOS, Windows | [Apache-2.0 WITH LLVM-exception](https://github.com/bytecodealliance/wasmtime/blob/main/LICENSE) | | [**xbuild**](https://github.com/rust-mobile/xbuild) | `$CARGO_HOME/bin` | [GitHub Releases](https://github.com/rust-mobile/xbuild/releases) | Linux, macOS, Windows | [Apache-2.0 OR MIT](https://github.com/rust-mobile/xbuild/blob/268939a99a50d7927bce3e343e5d2ed32eb8b30e/xbuild/Cargo.toml#L7) | +| [**xh**](https://github.com/ducaale/xh) | `$CARGO_HOME/bin` | [GitHub Releases](https://github.com/ducaale/xh/releases) | Linux, macOS, Windows | [MIT](https://github.com/ducaale/xh/blob/master/LICENSE) | | [**zola**](https://github.com/getzola/zola) | `$CARGO_HOME/bin` | [GitHub Releases](https://github.com/getzola/zola/releases) | Linux, macOS, Windows | [MIT](https://github.com/getzola/zola/blob/master/LICENSE) | [cargo-binstall]: https://github.com/cargo-bins/cargo-binstall diff --git a/manifests/xh.json b/manifests/xh.json new file mode 100644 index 00000000..763bf56f --- /dev/null +++ b/manifests/xh.json @@ -0,0 +1,49 @@ +{ + "rust_crate": "xh", + "template": { + "x86_64_linux_musl": { + "url": "https://github.com/ducaale/xh/releases/download/v${version}/xh-v${version}-x86_64-unknown-linux-musl.tar.gz", + "bin": "xh-v${version}-x86_64-unknown-linux-musl/xh" + }, + "x86_64_macos": { + "url": "https://github.com/ducaale/xh/releases/download/v${version}/xh-v${version}-x86_64-apple-darwin.tar.gz", + "bin": "xh-v${version}-x86_64-apple-darwin/xh" + }, + "x86_64_windows": { + "url": "https://github.com/ducaale/xh/releases/download/v${version}/xh-v${version}-x86_64-pc-windows-msvc.zip", + "bin": "xh-v${version}-x86_64-pc-windows-msvc/xh.exe" + }, + "aarch64_linux_musl": { + "url": "https://github.com/ducaale/xh/releases/download/v${version}/xh-v${version}-aarch64-unknown-linux-musl.tar.gz", + "bin": "xh-v${version}-aarch64-unknown-linux-musl/xh" + }, + "aarch64_macos": { + "url": "https://github.com/ducaale/xh/releases/download/v${version}/xh-v${version}-aarch64-apple-darwin.tar.gz", + "bin": "xh-v${version}-aarch64-apple-darwin/xh" + } + }, + "license_markdown": "[MIT](https://github.com/ducaale/xh/blob/master/LICENSE)", + "latest": { + "version": "0.22.0" + }, + "0.22": { + "version": "0.22.0" + }, + "0.22.0": { + "x86_64_linux_musl": { + "checksum": "270a4ece43a44f4c270417b50ddea430029b98cc5103e264bf65f64fac5b60a8" + }, + "x86_64_macos": { + "checksum": "891a015ac04fda2a27df82991b9495213ce38d97827192c771da798bf10c875b" + }, + "x86_64_windows": { + "checksum": "cbaeabbfece018e05f1ef0e380b5b797c61524b11662598bc444402bcb0607d0" + }, + "aarch64_linux_musl": { + "checksum": "e4feb4a463183c3cc139f906a2cfe84dd3790d277f2915271a9a2ef3a0978ffb" + }, + "aarch64_macos": { + "checksum": "48fdabeedd42b2638a9e79bbb2506eaea7371e381dbf3cebf62e5cd40a39cc64" + } + } +} diff --git a/tools/codegen/base/xh.json b/tools/codegen/base/xh.json new file mode 100644 index 00000000..38cec3f4 --- /dev/null +++ b/tools/codegen/base/xh.json @@ -0,0 +1,17 @@ +{ + "repository": "https://github.com/ducaale/xh", + "tag_prefix": "v", + "rust_crate": "${package}", + "asset_name": "${package}-v${version}-${rust_target}.tar.gz", + "bin": "${package}-v${version}-${rust_target}/${package}${exe}", + "version_range": ">= 0.22.0", + "platform": { + "x86_64_macos": {}, + "x86_64_windows": { + "asset_name": "${package}-v${version}-${rust_target}.zip" + }, + "x86_64_linux_musl": {}, + "aarch64_macos": {}, + "aarch64_linux_musl": {} + } +}