From 6686c9ed86ebba65595479c10bda7f52a4fa80bf Mon Sep 17 00:00:00 2001 From: Dotan Nahum Date: Tue, 25 Jul 2023 20:15:20 +0300 Subject: [PATCH] rustwrap --- rustwrap.yaml | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 rustwrap.yaml diff --git a/rustwrap.yaml b/rustwrap.yaml new file mode 100644 index 0000000..5e99212 --- /dev/null +++ b/rustwrap.yaml @@ -0,0 +1,31 @@ +targets: + - platform: win32 + arch: x64 + url_template: https://github.com/rusty-ferris-club/backpack/releases/download/v__VERSION__/backpack-x86_64-windows.zip + - platform: linux + arch: x64 + url_template: https://github.com/rusty-ferris-club/backpack/releases/download/v__VERSION__/backpack-x86_64-linux.tar.xz + - platform: darwin + arch: x64 + url_template: https://github.com/rusty-ferris-club/backpack/releases/download/v__VERSION__/backpack-x86_64-macos.tar.xz + - platform: darwin + arch: arm64 + url_template: https://github.com/rusty-ferris-club/backpack/releases/download/v__VERSION__/backpack-aarch64-macos.tar.xz +brew: + name: backpack + publish: true + tap: rusty-ferris-club/homebrew-tap + recipe_fname: backpack.rb + recipe_template: | + class Backpack < Formula + desc "🎒 CLI to create starters from repos + Templates 🤖 + Actions 🚀" + homepage "http://github.com/rusty-ferris-club/backpack" + url "__URL__" + version "__VERSION__" + sha256 "__SHA__" + + def install + bin.install "bp" + end + end +