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/" +