build(rust): add a build script for debug (dev), make build scripts show running commands
This commit is contained in:
parent
d1f6e18b94
commit
ea13a6eb56
10
rust/build-debug.sh
Normal file
10
rust/build-debug.sh
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
set -x
|
||||||
|
|
||||||
|
cargo build
|
||||||
|
|
||||||
|
cd ..
|
||||||
|
|
||||||
|
cp -f rust/target/debug/libboids.so addons/boids/lib/boids.x86.so
|
||||||
|
cp -f rust/target/debug/boids.dll addons/boids/lib/boids.x86.dll
|
@ -1,5 +1,7 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
|
set -x
|
||||||
|
|
||||||
cross build --release --target x86_64-unknown-linux-gnu
|
cross build --release --target x86_64-unknown-linux-gnu
|
||||||
cross build --release --target x86_64-pc-windows-gnu
|
cross build --release --target x86_64-pc-windows-gnu
|
||||||
cross +nightly build -Zbuild-std --release --target wasm32-unknown-emscripten
|
cross +nightly build -Zbuild-std --release --target wasm32-unknown-emscripten
|
||||||
|
Loading…
Reference in New Issue
Block a user