build: fix zipped paths

This commit is contained in:
dusk 2024-09-24 17:19:05 +03:00
parent 346cde53d2
commit ce8e663c14
Signed by: dusk
SSH Key Fingerprint: SHA256:Abmvag+juovVufZTxyWY8KcVgrznxvBjQpJesv071Aw

View File

@ -4,8 +4,10 @@ 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
cp -f target/x86_64-unknown-linux-gnu/release/libboids.so ../addons/boids/lib/boids.x86.so cd ..
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
zip -r ../../boids-release.zip ../addons ../examples ../README.md ../LICENSE.txt cp -f rust/target/x86_64-unknown-linux-gnu/release/libboids.so addons/boids/lib/boids.x86.so
cp -f rust/target/x86_64-pc-windows-gnu/release/boids.dll addons/boids/lib/boids.x86.dll
cp -f rust/target/wasm32-unknown-emscripten/release/boids.wasm addons/boids/lib/boids.wasm
zip -r ../boids-release.zip addons examples README.md LICENSE.txt