KIT-ILIAS-downloader/build.sh

11 lines
379 B
Bash
Raw Normal View History

2021-04-14 15:05:07 +00:00
#!/bin/sh
rustup target add x86_64-unknown-linux-musl
cargo build --release --target x86_64-unknown-linux-musl
strip target/release/KIT-ILIAS-downloader
rustup target add x86_64-pc-windows-gnu
# if on Debian or similar
sudo apt install mingw-w64
2021-04-19 09:15:55 +00:00
cargo build --release --all-features --target x86_64-pc-windows-gnu
2021-04-14 15:05:07 +00:00
strip target/x86_64-pc-windows-gnu/release/KIT-ILIAS-downloader