Try SpatialOS

Sites

Menu

spatial worker build

Builds all workers.

Description

For each worker, runs the ‘Build’ task, which is specified, either directly or indirectly, in the worker’s ‘spatialos..worker.json’.

By default, this task will perform the steps necessary to build a standalone version of each worker, and normally runs ‘Codegen’ as its first step.

See the SpatialOS documentation for more information about customising this process.

Default behaviour and specifying worker names:

If run from the root of the application with no arguments, all workers will be affected. If run from within a worker’s directory with no arguments, only that worker will be affected. If worker names are specified on the command line, only those workers will be affected, regardless of where it is run from.

spatial worker build [worker names] [flags]

Options

  -t, --target string   Specify which target to build. Builds all targets when not specified.

Options inherited from parent commands

      --json_output    Print output in JSON format. Useful when you need to parse the Spatial CLI output.
      --no_animation   Disable dynamic output elements such as the spinner, progress bars, etc.

See also

Was this page helpful?

Thanks for letting us know!

Thanks for your feedback

Need more help? Ask on the forums