services:
  javascript:
    build: ../../../misc/docker
    user: ${UID_GID}
    volumes:
      - .:/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)
