Get SpatialOS

Sites

Menu
These are the docs for 13.6, an old version of SpatialOS. The docs for this version are frozen: we do not correct, update or republish them. 13.8 is the newest →

spatial worker build build-config

Build worker bridge configuration and launch configuration

Description

For each worker, convert the bridge configuration and launch configuration specified in a worker's 'spatialos.<worker_name>.worker.json' and save them in the 'build/assembly' folder.

See the SpatialOS documentation for more information about customising your worker configuration.

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 build-config [worker names] [flags]

Options inherited from parent commands

      --json_output            Print output in JSON format. Useful when you need to parse the Spatial CLI output.
      --log_directory string   Sets the directory log files will be created in. If not specified, this is set to <project_root>/logs when inside a project directory and logging is disabled when outside a project directory.
      --log_level string       Sets the log level. Available log levels: debug, info, warning, error, fatal, or panic.
      --main_config string     The path to your project's main configuration file (usually called spatialos.json)
      --no_animation           Disable dynamic output elements such as the spinner, progress bars, etc.

See also

Search results

Was this page helpful?

Thanks for letting us know!

Thanks for your feedback

Need more help? Ask on the forums