fix: build librarier again correctly
This commit is contained in:
parent
848d528d51
commit
4c5176ca48
@ -4,13 +4,13 @@ compatibility_minimum = 4.2
|
||||
reloadable = true
|
||||
|
||||
[libraries]
|
||||
linux.debug.x86_64 = "res://rust/target/debug/libboids.so"
|
||||
windows.debug.x86_64 = "res://rust/target/debug/boids.dll"
|
||||
linux.debug.x86_64 = "res://rust/target/debug/boids.x86.editor.so"
|
||||
windows.debug.x86_64 = "res://rust/target/debug/boids.x86.editor.dll"
|
||||
web.debug.wasm32 = "res://addons/boids/lib/boids.editor.wasm"
|
||||
linux.release.x86_64 = "res://addons/boids/lib/boids.x86.so"
|
||||
windows.release.x86_64 = "res://addons/boids/lib/boids.x86.dll"
|
||||
macos.release = "res://addons/boids/lib/boids.x86.dylib"
|
||||
macos.release.arm64 = "res://addons/boids/lib/boids.arm64.dylib"
|
||||
web.debug.wasm32 = "res://rust/target/wasm32-unknown-emscripten/debug/boids.wasm"
|
||||
web.release.wasm32 = "res://addons/boids/lib/boids.wasm"
|
||||
|
||||
[icons]
|
||||
|
BIN
addons/boids/lib/boids.editor.wasm
Executable file
BIN
addons/boids/lib/boids.editor.wasm
Executable file
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
addons/boids/lib/boids.x86.editor.dll
Executable file
BIN
addons/boids/lib/boids.x86.editor.dll
Executable file
Binary file not shown.
BIN
addons/boids/lib/boids.x86.editor.so
Executable file
BIN
addons/boids/lib/boids.x86.editor.so
Executable file
Binary file not shown.
@ -1,9 +1,17 @@
|
||||
#!/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
|
||||
if [ "$1" == "release" ]; then
|
||||
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
|
||||
else
|
||||
cross build --target x86_64-unknown-linux-gnu
|
||||
cross build --target x86_64-pc-windows-gnu
|
||||
cross +nightly build -Zbuild-std --target wasm32-unknown-emscripten
|
||||
mv target/x86_64-unknown-linux-gnu/debug/libboids.so ../addons/boids/lib/boids.x86.editor.so
|
||||
mv target/x86_64-pc-windows-gnu/debug/boids.dll ../addons/boids/lib/boids.x86.editor.dll
|
||||
mv target/wasm32-unknown-emscripten/debug/boids.wasm ../addons/boids/lib/boids.editor.wasm
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user