build: zip the addon in script
This commit is contained in:
parent
5560736be7
commit
346cde53d2
2
rust/build.sh → rust/package-release.sh
Executable file → Normal file
2
rust/build.sh → rust/package-release.sh
Executable file → Normal file
@ -7,3 +7,5 @@ cross +nightly build -Zbuild-std --release --target wasm32-unknown-emscripten
|
|||||||
cp -f target/x86_64-unknown-linux-gnu/release/libboids.so ../addons/boids/lib/boids.x86.so
|
cp -f target/x86_64-unknown-linux-gnu/release/libboids.so ../addons/boids/lib/boids.x86.so
|
||||||
cp -f target/x86_64-pc-windows-gnu/release/boids.dll ../addons/boids/lib/boids.x86.dll
|
cp -f target/x86_64-pc-windows-gnu/release/boids.dll ../addons/boids/lib/boids.x86.dll
|
||||||
cp -f target/wasm32-unknown-emscripten/release/boids.wasm ../addons/boids/lib/boids.wasm
|
cp -f target/wasm32-unknown-emscripten/release/boids.wasm ../addons/boids/lib/boids.wasm
|
||||||
|
|
||||||
|
zip -r ../../boids-release.zip ../addons ../examples ../README.md ../LICENSE.txt
|
Loading…
Reference in New Issue
Block a user