Skip to main content

execModBuild

Build a mod from one ckx-sdk crate, as execBuild builds a developer's crates. Returns at once with the build queued; poll execModBuildStatus, then pass its id to execModDeploy. One build at a time per player. Requires the 'write_server_code' permission in the app.

execModBuild(
appId: BigInt!
crate: ExecBuildCrateInput!
): ExecBuild!

Arguments​

execModBuild.appId ● BigInt! non-null scalar​

The app the grid is in.

execModBuild.crate ● ExecBuildCrateInput! non-null input​

The mod’s one ckx-sdk crate, e.g. execModStarter’s files.

Type​

ExecBuild object​

A ck-exec build: queued, building, succeeded or failed, with the compiler’s log and, once it succeeds, one module per crate.