From fe6b03e268aa39bcbb825559ecf7519683eb4c17 Mon Sep 17 00:00:00 2001 From: Joakim Hulthe Date: Thu, 22 Oct 2026 14:59:48 +0200 Subject: [PATCH] Add script for setting up boco-init --- scripts/setup.sh | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100755 scripts/setup.sh diff --git a/scripts/setup.sh b/scripts/setup.sh new file mode 100755 index 0000000..a163ac7 --- /dev/null +++ b/scripts/setup.sh @@ -0,0 +1,12 @@ +#!/usr/bin/env bash + +set -ex + +cd "$(dirname "$0")/.." + +mkdir -p "$HOME/.local/share/boco" +cargo build --release --target x86_64-unknown-linux-musl -p boco-init + +target_dir="${CARGO_TARGET_DIR:-target}" +cp "$target_dir/x86_64-unknown-linux-musl/release/boco-init" "$HOME/.local/share/boco/" +