From 4f053858417160aaba9333dbaa9b40cd5b546af5 Mon Sep 17 00:00:00 2001 From: FliegendeWurst <2012gdwu+github@posteo.de> Date: Wed, 14 Apr 2021 17:05:07 +0200 Subject: [PATCH] build script --- build.sh | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100755 build.sh diff --git a/build.sh b/build.sh new file mode 100755 index 0000000..0308c49 --- /dev/null +++ b/build.sh @@ -0,0 +1,10 @@ +#!/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 +cargo build --release --target x86_64-pc-windows-gnu +strip target/x86_64-pc-windows-gnu/release/KIT-ILIAS-downloader