mirror of
https://github.com/arabianq/pipewire-soundpad.git
synced 2026-04-28 06:21:23 +00:00
9 lines
222 B
Bash
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" |