Skip to content

Commit b4613ce

Browse files
authored
Merge pull request #102 from bruvzg/ts_data_in_template
Add ICU data to export templates.
2 parents 1e4dc88 + bf0dd19 commit b4613ce

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

build-release.sh

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -214,6 +214,13 @@ if [ "${build_classical}" == "1" ]; then
214214
zip -q -9 "${reldir}/${binname}.zip" ${binname}
215215
rm ${binname}
216216

217+
# ICU data
218+
if [ -f ${basedir}/git/thirdparty/icu4c/icudt_godot.dat ]; then
219+
cp ${basedir}/git/thirdparty/icu4c/icudt_godot.dat ${templatesdir}/icudt_godot.dat
220+
else
221+
echo "icudt_godot.dat" not found.
222+
fi
223+
217224
# Templates
218225
cp out/linux/x86_64/templates/godot.linuxbsd.template_release.x86_64 ${templatesdir}/linux_release.x86_64
219226
cp out/linux/x86_64/templates/godot.linuxbsd.template_debug.x86_64 ${templatesdir}/linux_debug.x86_64
@@ -398,6 +405,13 @@ if [ "${build_mono}" == "1" ]; then
398405
zip -r -q -9 "${reldir_mono}/${binbasename}_arm32.zip" ${binbasename}_arm32
399406
rm -rf ${binbasename}_arm32
400407

408+
# ICU data
409+
if [ -f ${basedir}/git/thirdparty/icu4c/icudt_godot.dat ]; then
410+
cp ${basedir}/git/thirdparty/icu4c/icudt_godot.dat ${templatesdir_mono}/icudt_godot.dat
411+
else
412+
echo "icudt_godot.dat" not found.
413+
fi
414+
401415
# Templates
402416
cp out/linux/x86_64/templates-mono/godot.linuxbsd.template_debug.x86_64.mono ${templatesdir_mono}/linux_debug.x86_64
403417
cp out/linux/x86_64/templates-mono/godot.linuxbsd.template_release.x86_64.mono ${templatesdir_mono}/linux_release.x86_64

0 commit comments

Comments
 (0)