13 lines
291 B
Bash
Executable File
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/"
|
|
|