Skip to content

Commit

Permalink
[godot] Try to fix web build on GitHub.
Browse files Browse the repository at this point in the history
  • Loading branch information
badlogic committed Oct 17, 2024
1 parent e4469dc commit 9ea50d8
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
8 changes: 4 additions & 4 deletions spine-godot/build/build-templates-v4.sh
Original file line number Diff line number Diff line change
Expand Up @@ -134,16 +134,16 @@ elif [ "$platform" = "web" ]; then
mv bin/godot.web.template_debug.wasm32.zip bin/web_debug.zip
scons platform=web tools=no threads=no target=template_release custom_modules="../spine_godot" --jobs=$cpus
scons platform=web tools=no threads=no target=template_debug custom_modules="../spine_godot" --jobs=$cpus
mv bin/godot.web.template_release.wasm32.zip bin/web_nothreads_release.zip
mv bin/godot.web.template_debug.wasm32.zip bin/web_nothreads_debug.zip
mv bin/godot.web.template_release.wasm32.nothreads.zip bin/web_nothreads_release.zip
mv bin/godot.web.template_debug.wasm32.nothreads.zip bin/web_nothreads_debug.zip
scons platform=web tools=no dlink_enabled=yes target=template_release custom_modules="../spine_godot" --jobs=$cpus
scons platform=web tools=no dlink_enabled=yes target=template_debug custom_modules="../spine_godot" --jobs=$cpus
mv bin/godot.web.template_release.wasm32.dlink.zip bin/web_dlink_release.zip
mv bin/godot.web.template_debug.wasm32.dlink.zip bin/web_dlink_debug.zip
scons platform=web tools=no threads=no dlink_enabled=yes target=template_release custom_modules="../spine_godot" --jobs=$cpus
scons platform=web tools=no threads=no dlink_enabled=yes target=template_debug custom_modules="../spine_godot" --jobs=$cpus
mv bin/godot.web.template_release.wasm32.dlink.zip bin/web_dlink_nothreads_release.zip
mv bin/godot.web.template_debug.wasm32.dlink.zip bin/web_dlink_nothreads_debug.zip
mv bin/godot.web.template_release.wasm32.dlink..nothreads.zip bin/web_dlink_nothreads_release.zip
mv bin/godot.web.template_debug.wasm32.dlink.nothreads.zip bin/web_dlink_nothreads_debug.zip
elif [ "$platform" = "android" ]; then
# --- ANROID ---
# generates android_release.apk, android_debug.apk, android_source.zip
Expand Down
2 changes: 2 additions & 0 deletions spine-godot/build/setup-extension.sh
Original file line number Diff line number Diff line change
Expand Up @@ -65,5 +65,7 @@ git checkout $godot_branch
scons target=editor dev_build=true optimize=debug --jobs=$cpus
popd

cp -r ../spine-cpp/spine-cpp spine_godot

popd
popd > /dev/null

0 comments on commit 9ea50d8

Please sign in to comment.