13 lines
299 B
Bash
Executable File
13 lines
299 B
Bash
Executable File
#!/usr/bin/bash
|
|
|
|
set -x
|
|
rm target/xmpd target/xmpd.exe
|
|
|
|
set -e
|
|
|
|
cargo build --release --target x86_64-pc-windows-gnu
|
|
cargo build --release --target x86_64-unknown-linux-gnu
|
|
|
|
cp target/x86_64-unknown-linux-gnu/release/xmpd target/xmpd
|
|
cp target/x86_64-pc-windows-gnu/release/xmpd.exe target/xmpd.exe
|