From abb16e9a0bfade9785f22232e3dee291363382fa Mon Sep 17 00:00:00 2001 From: banst Date: Wed, 7 Feb 2024 18:21:30 +0100 Subject: [PATCH] chore: add proto plugin --- proto-plugin.toml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 proto-plugin.toml diff --git a/proto-plugin.toml b/proto-plugin.toml new file mode 100644 index 00000000..e47d3b62 --- /dev/null +++ b/proto-plugin.toml @@ -0,0 +1,25 @@ +name = "timoni" +type = "cli" + +[platform.linux] +bin-path = "timoni" +download-file = "timoni_{version}_linux_{arch}.tar.gz" + +[platform.macos] +bin-path = "timoni" +download-file = "timoni_{version}_darwin_{arch}.tar.gz" + +[platform.windows] +bin-path = "timoni.exe" +download-file = "timoni_{version}_windows_{arch}.zip" + +[install] +checksum-url = "https://github.com/stefanprodan/timoni/releases/download/v{version}/timoni_{version}_checksums.txt" +download-url = "https://github.com/stefanprodan/timoni/releases/download/v{version}/{download_file}" + +[install.arch] +aarch64 = "arm64" +x86_64 = "amd64" + +[resolve] +git-url = "https://github.com/stefanprodan/timoni"