Add script to build HTML5 export

This commit is contained in:
Leroy Hopson 2021-07-15 19:35:46 +07:00
parent 7c6300c8dc
commit 18d25579fd
No known key found for this signature in database
GPG key ID: D2747312A6DB51AA
3 changed files with 12 additions and 3 deletions

2
.gitignore vendored
View file

@ -27,3 +27,5 @@ test/test_metadata.json
# GodotXterm-specific ignores
.gdxterm
docs/demo
docs/logs

7
docs/build.sh Executable file
View file

@ -0,0 +1,7 @@
# Build export templates and export HTML5 release build.
pushd ../misc/export_templates
./build.sh
popd
pushd ../
godot --no-window --export "HTML5" ./docs/demo/index.html
popd

View file

@ -5,9 +5,9 @@ platform="HTML5"
runnable=true
custom_features=""
export_filter="all_resources"
include_filter=""
exclude_filter="misc/*, addons/godot_xterm/native/thirdparty/*"
export_path="export/index.html"
include_filter="addons/godot_xterm/themes/fonts/hack/hack_regular-3.003.ttf"
exclude_filter="misc/*, **/thirdparty/*, **/unifont/*, **/nerd_fonts/*, **/noto_color_emoji/*, *bold*.ttf, *italic*.ttf"
export_path="docs/demo/index.html"
script_export_mode=1
script_encryption_key=""