mirror of
https://github.com/FranP-code/TurboRun.git
synced 2025-10-13 00:14:01 +00:00
build script
This commit is contained in:
13
build.sh
13
build.sh
@@ -1,3 +1,10 @@
|
||||
cargo build --release --target=aarch64-apple-darwin
|
||||
cargo build --release --target=x86_64-unknown-linux-gnu
|
||||
cargo build --release --target=x86_64-pc-windows-msvc
|
||||
if [ "$1" = "macos-arm" ]; then
|
||||
rustup target add aarch64-apple-darwin
|
||||
cargo build --release --target=aarch64-apple-darwin
|
||||
elif [ "$1" = "linux" ]; then
|
||||
rustup target add x86_64-unknown-linux-musl
|
||||
cargo build --release --target=x86_64-unknown-linux-musl
|
||||
elif [ "$1" = "windows" ]; then
|
||||
rustup target add x86_64-pc-windows-msvc
|
||||
cargo build --release --target=x86_64-pc-windows-msvc
|
||||
fi
|
||||
Reference in New Issue
Block a user