-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathrelease.sh
13 lines (11 loc) · 844 Bytes
/
release.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
cargo build --release --target x86_64-unknown-linux-gnu
cargo build --release --target aarch64-unknown-linux-gnu
cargo build --release --target x86_64-apple-darwin
cargo build --release --target aarch64-apple-darwin
cargo build --release --target x86_64-pc-windows-gnu
mkdir target/out
cp target/x86_64-apple-darwin/release/minecraft_server_installer target/out/server-installer-macos-x86_64
cp target/aarch64-apple-darwin/release/minecraft_server_installer target/out/server-installer-macos-aarch64
cp target/x86_64-unknown-linux-gnu/release/minecraft_server_installer target/out/server-installer-linux-x86_64
cp target/aarch64-unknown-linux-gnu/release/minecraft_server_installer target/out/server-installer-linux-aarch64
cp target/x86_64-pc-windows-gnu/release/minecraft_server_installer.exe target/out/server-installer-windows-x86_64.exe