mirror of
https://github.com/godotengine/godot-build-scripts.git
synced 2025-12-31 05:48:35 +03:00
Add Linux server export templates
This commit is contained in:
@@ -29,6 +29,10 @@ cp -rvp bin/godot.x11.* /root/out/
|
|||||||
|
|
||||||
export PATH="${GODOT_SDK_LINUX_X86_64}/bin:${BASE_PATH}"
|
export PATH="${GODOT_SDK_LINUX_X86_64}/bin:${BASE_PATH}"
|
||||||
${SCONS} platform=server ${OPTIONS} bits=64 tools=yes target=release_debug
|
${SCONS} platform=server ${OPTIONS} bits=64 tools=yes target=release_debug
|
||||||
|
${SCONS} platform=server ${OPTIONS} bits=64 tools=no target=release
|
||||||
|
|
||||||
|
export PATH="${GODOT_SDK_LINUX_X86_32}/bin:${BASE_PATH}"
|
||||||
|
${SCONS} platform=server ${OPTIONS} bits=32 tools=no target=release
|
||||||
|
|
||||||
${STRIP} bin/godot_server.server.*
|
${STRIP} bin/godot_server.server.*
|
||||||
cp -rvp bin/godot_server.server.* /root/out/
|
cp -rvp bin/godot_server.server.* /root/out/
|
||||||
|
|||||||
@@ -236,6 +236,10 @@ if true; then
|
|||||||
zip -q -9 "${reldir}/${binname}.zip" ${binname}
|
zip -q -9 "${reldir}/${binname}.zip" ${binname}
|
||||||
rm ${binname}
|
rm ${binname}
|
||||||
|
|
||||||
|
# Templates
|
||||||
|
cp out/linux/godot_server.server.opt.64 ${templatesdir}/linux_server_64
|
||||||
|
cp out/linux/godot_server.server.opt.32 ${templatesdir}/linux_server_32
|
||||||
|
|
||||||
## Templates TPZ (Classical) ##
|
## Templates TPZ (Classical) ##
|
||||||
|
|
||||||
echo "${templates_version}" > ${templatesdir}/version.txt
|
echo "${templates_version}" > ${templatesdir}/version.txt
|
||||||
|
|||||||
Reference in New Issue
Block a user