Build Ballerina project
mq_build_projectRun 'bal build' on a Ballerina project to confirm it compiles, returning success or compiler diagnostics. Verifies the Ballerina toolchain first and can use offline mode without modifying source files.
Instructions
Run bal build in a scaffolded project and report success or the compiler diagnostics. Verifies the Ballerina toolchain is installed first (bal version). Use offline=true to build against locally cached dependencies only. Does not modify source files.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| offline | No | Pass --offline to bal build (use only locally cached dependencies). | |
| timeout_ms | No | Max time to wait for `bal build` to finish (default 300000 ms). | |
| project_path | Yes | Absolute or ~/%USERPROFILE%-relative path to an existing scaffolded project root (the folder containing Ballerina.toml). |