mirror of
https://github.com/lihop/godot-xterm.git
synced 2024-11-22 01:30:25 +01:00
Add script to build HTML5 export
This commit is contained in:
parent
7c6300c8dc
commit
18d25579fd
3 changed files with 12 additions and 3 deletions
2
.gitignore
vendored
2
.gitignore
vendored
|
@ -27,3 +27,5 @@ test/test_metadata.json
|
|||
|
||||
# GodotXterm-specific ignores
|
||||
.gdxterm
|
||||
docs/demo
|
||||
docs/logs
|
||||
|
|
7
docs/build.sh
Executable file
7
docs/build.sh
Executable 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
|
|
@ -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=""
|
||||
|
||||
|
|
Loading…
Reference in a new issue