mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
6 lines
419 B
Bash
6 lines
419 B
Bash
|
#!/bin/bash
|
||
|
update-alternatives --set x86_64-w64-mingw32-gcc /usr/bin/x86_64-w64-mingw32-gcc-posix
|
||
|
update-alternatives --set x86_64-w64-mingw32-g++ /usr/bin/x86_64-w64-mingw32-g++-posix
|
||
|
export VELOREN_USERDATA_STRATEGY=executable
|
||
|
time cargo build --target=x86_64-pc-windows-gnu --release --no-default-features --features default-publish &&
|
||
|
time cargo build --target=x86_64-pc-windows-gnu --release -p veloren-server-cli
|