Update files for javascript build and export

Adds some files to making building and export for HTML5 more convenient.
This commit is contained in:
Leroy Hopson 2021-06-15 13:54:35 +07:00
parent 2f4cbacf15
commit bdda1458c0
No known key found for this signature in database
GPG key ID: D2747312A6DB51AA
11 changed files with 83 additions and 26 deletions

View file

@ -1,6 +1,14 @@
services:
javascript-build:
build: misc/docker
javascript:
build: ../../../misc/docker
user: ${UID_GID}
volumes:
- .:/godot
- .:/src
command:
- /bin/bash
- -c
- |
cd /src/thirdparty/godot-cpp
scons platform=javascript target=debug -j$$(nproc)
cd /src
scons platform=javascript target=debug -j$$(nproc)