Files
boco/scripts/setup.sh
T
hulthe fe6b03e268
CI / build (push) Successful in 14s
Add script for setting up boco-init
2026-10-22 14:59:48 +02:00

13 lines
291 B
Bash
Executable File

#!/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/"