KIT-ILIAS-downloader/build.sh
2021-06-04 10:13:33 +02:00

9 lines
291 B
Bash
Executable File

#!/bin/sh
rustup target add x86_64-unknown-linux-musl
cargo build --locked --release --target x86_64-unknown-linux-musl
rustup target add x86_64-pc-windows-gnu
# if on Debian or similar
sudo apt install mingw-w64
cargo build --locked --release --all-features --target x86_64-pc-windows-gnu