mirror of
https://github.com/FliegendeWurst/KIT-ILIAS-downloader.git
synced 2024-08-28 04:04:18 +00:00
build script: require up to date lock file
This commit is contained in:
parent
4967e8afba
commit
1ff1f1417a
6
build.sh
6
build.sh
@ -1,10 +1,8 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
rustup target add x86_64-unknown-linux-musl
|
rustup target add x86_64-unknown-linux-musl
|
||||||
cargo build --release --target x86_64-unknown-linux-musl
|
cargo build --locked --release --target x86_64-unknown-linux-musl
|
||||||
strip target/release/KIT-ILIAS-downloader
|
|
||||||
|
|
||||||
rustup target add x86_64-pc-windows-gnu
|
rustup target add x86_64-pc-windows-gnu
|
||||||
# if on Debian or similar
|
# if on Debian or similar
|
||||||
sudo apt install mingw-w64
|
sudo apt install mingw-w64
|
||||||
cargo build --release --all-features --target x86_64-pc-windows-gnu
|
cargo build --locked --release --all-features --target x86_64-pc-windows-gnu
|
||||||
strip target/x86_64-pc-windows-gnu/release/KIT-ILIAS-downloader.exe
|
|
||||||
|
Loading…
Reference in New Issue
Block a user