What problem does it solve?
Provides a deterministic, automatable way to run Unreal Build Tool (UBT) for the ManteumTower project on Windows so C++ and plugin changes can be validated by compilation and machine-readable build output, preventing regressions introduced by uncompiled edits.
Core Features & Use Cases
- Editor-target compilation: Invokes the project-specific tooling to compile only the ManteumTowerEditor target, suitable after modifying Source/ or Plugins/.
- Machine-readable results: Expects the build tool to emit a single-line JSON on stdout containing success, exitCode, and errors fields for automated parsing and actionable error locations.
- Engine path configuration: Honors environment variables like ENGINE_AS_ROOT or AS_LEARN_UE_ENGINE_ROOT to locate the engine root when ue-editor-launch conventions are used.
- Agent workflow integration: Designed for Agent execution: change detection → run compilation → parse JSON → continue edits or report errors, and aligns with small-commit best practices to avoid losing C++ work-in-progress.
Quick Start
From the ManteumTower project root run npm run compile:editor to build the Editor and inspect the final stdout JSON line for errors.