From 0e2da85749b0668148468d78ee777773a6e8cdc1 Mon Sep 17 00:00:00 2001 From: kjuulh Date: Fri, 27 Dec 2024 21:53:36 +0100 Subject: [PATCH] feat: add install script Signed-off-by: kjuulh --- cuddle.yaml | 4 ++++ scripts/install.sh | 5 +++++ 2 files changed, 9 insertions(+) create mode 100644 scripts/install.sh diff --git a/cuddle.yaml b/cuddle.yaml index db67e2a..a7b9d46 100644 --- a/cuddle.yaml +++ b/cuddle.yaml @@ -5,3 +5,7 @@ base: "git@git.front.kjuulh.io:kjuulh/cuddle-base.git" vars: service: "cuddle-rust-cli-plan" registry: kasperhermansen + +scripts: + install: + type: script diff --git a/scripts/install.sh b/scripts/install.sh new file mode 100644 index 0000000..b52d683 --- /dev/null +++ b/scripts/install.sh @@ -0,0 +1,5 @@ +#!/usr/bin/env zsh + +set -e + +cargo install --path crates/$SERVICE --force