godot_boids/rust/build.sh
2024-09-13 00:37:47 +09:00

10 lines
457 B
Bash
Executable File

#!/bin/sh
cross build --release --target x86_64-unknown-linux-gnu
cross build --release --target x86_64-pc-windows-gnu
cross +nightly build -Zbuild-std --release --target wasm32-unknown-emscripten
mv target/x86_64-unknown-linux-gnu/release/libboids.so ../addons/boids/lib/boids.x86.so
mv target/x86_64-pc-windows-gnu/release/boids.dll ../addons/boids/lib/boids.x86.dll
mv target/wasm32-unknown-emscripten/release/boids.wasm ../addons/boids/lib/boids.wasm