mirror of
https://github.com/lihop/godot-xterm.git
synced 2025-05-05 04:34:23 +02:00
Update files for javascript build and export
Adds some files to making building and export for HTML5 more convenient.
This commit is contained in:
parent
2f4cbacf15
commit
bdda1458c0
11 changed files with 83 additions and 26 deletions
|
@ -2,7 +2,7 @@
|
|||
set -e
|
||||
|
||||
|
||||
# Get the absolute path to the directory this script is in.
|
||||
#GODOT_DIR Get the absolute path to the directory this script is in.
|
||||
NATIVE_DIR="$( cd "$(dirname "$0")" >/dev/null 2>&1 ; pwd -P )"
|
||||
|
||||
|
||||
|
@ -34,6 +34,6 @@ scons generate_bindings=yes -j$(nproc)
|
|||
cd ${NATIVE_DIR}
|
||||
scons -j$(nproc)
|
||||
|
||||
echo "To Build libgodot-xterm for javascript platform inside a docker container, run:"
|
||||
echo 'UID_GID="$(id -u):$(id -g)" docker-compose run javascript-build'
|
||||
|
||||
# Use Docker to build libgodot-xterm javascript.
|
||||
UID_GID="0:0" docker-compose build javascript
|
||||
UID_GID="$(id -u):$(id -g)" docker-compose run javascript
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue