mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-03-25 22:23:42 +08:00
[godot] More CI scripts work, web templates.
This commit is contained in:
parent
a6f4bc0e8a
commit
3e98524b24
@ -73,6 +73,13 @@ elif [ "$platform" = "ios" ]; then
|
||||
zip -q -9 -r ../iphone.zip *
|
||||
popd
|
||||
popd
|
||||
elif [ "$platform" = "web" ]; then
|
||||
# --- WEB ---
|
||||
# generates
|
||||
scons platform=javascript tools=no target=release custom_modules="../spine_godot" -j8
|
||||
scons platform=javascript tools=no target=release_debug custom_modules="../spine_godot" -j8
|
||||
mv bin/godot.javascript.opt.zip bin/webassembly_release.zip
|
||||
mv bin/godot.javascript.opt.debug.zip bin/webassembly_debug.zip
|
||||
else
|
||||
echo "Unknown platform: $platform"
|
||||
exit 1
|
||||
|
||||
@ -39,7 +39,7 @@ if [ `uname` == 'Darwin' ] && [ $dev = "false" ]; then
|
||||
strip -S -x godot.osx.tools.universal
|
||||
cp godot.osx.tools.universal Godot.app/Contents/MacOS/Godot
|
||||
else
|
||||
lipo -create godot.osx.opt.tools.x86_64 godot.osx.opt.tools.arm64 -output godot.osx.tools.universal
|
||||
lipo -create godot.osx.opt.tools.x86_64 godot.osx.opt.tools.arm64 -output godot.osx.opt.tools.universal
|
||||
strip -S -x godot.osx.opt.tools.universal
|
||||
cp godot.osx.opt.tools.universal Godot.app/Contents/MacOS/Godot
|
||||
fi
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user