Files
pipewire-soundpad/build_scripts/build.sh
T
2025-12-16 21:08:47 +03:00

9 lines
222 B
Bash

#!/usr/bin/bash
# Change dir to the cargo project
cd "$(dirname "$(realpath "$0")")/.." || exit
RUST_TARGET=${1:-"x86_64-unknown-linux-gnu"}
rustup target add "$RUST_TARGET"
cargo build --release --target "$RUST_TARGET"