libero/cli/build

libero build — gen + build server + build all clients.

NOTE: The build is not atomic. gen writes generated files first, then the server and each client are built sequentially. If a client build fails, the server artifacts and generated files remain on disk. This is acceptable for a development CLI — production deployments should use CI pipelines with rollback capability.

Values

pub fn run(
  project_path project_path: String,
) -> Result(Nil, String)

Run gen, then build the server and each client package. nolint: stringly_typed_error – CLI module, String errors are user-facing messages

Search Document