diff options
Diffstat (limited to 'launcher/build.sh')
-rwxr-xr-x | launcher/build.sh | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/launcher/build.sh b/launcher/build.sh new file mode 100755 index 0000000..cf47f3c --- /dev/null +++ b/launcher/build.sh @@ -0,0 +1,12 @@ +#!/bin/zsh +rm -rf release +mkdir release + +cargo clean +cargo build --release --all + +cp target/x86_64-pc-windows-gnu/release/launcher.exe release/launcher-windows-x64.exe +cp target/x86_64-unknown-linux-gnu/release/launcher release/launcher-linux-x64 +cp target/x86_64-apple-darwin/release/launcher release/launcher-darwin-x64 +cp target/aarch64-unknown-linux-musl/release/launcher release/launcher-linux-arm64 +cp target/aarch64-apple-darwin/release/launcher release/launcher-darwin-arm64 |