Update build script

- Add flags for target and disable_pty
- Only run docker-compose commands if docker-compose installed
This commit is contained in:
Leroy Hopson 2021-07-17 11:04:08 +07:00
parent 0973aad7e6
commit 88e5320a83
No known key found for this signature in database
GPG key ID: D2747312A6DB51AA
2 changed files with 38 additions and 9 deletions

View file

@ -9,6 +9,6 @@ services:
- -c
- |
cd /src/thirdparty/godot-cpp
scons platform=javascript target=debug -j$$(nproc)
scons platform=javascript target=$${TARGET:-debug} -j$$(nproc)
cd /src
scons platform=javascript target=debug -j$$(nproc)
scons platform=javascript target=$${TARGET:-debug} -j$$(nproc)