Nebula

nebula build

Build the game executable every role runs from (orchestrator, gateway, workers, client)

generated from the sources

Build the game executable every role runs from (orchestrator, gateway, workers, client).

nebula build [worker|client] [--linux] [--scratch] [--stop-mesh]
Every Nebula role is the same player build started with a different -nebula-role, so `worker` and `client`
build the same thing; the words are accepted for readability. Without --linux the build is for this machine
(Builds/Win64, Builds/MacOS or Builds/Linux64), which is what `nebula start` runs. --linux builds the Linux
dedicated server into Builds/Linux64 and packs Builds/nebula-linux.tar.gz for `nebula deploy`.

If the Unity Editor has the project open, the build runs from a mirrored copy under ~/.nebula-cli/scratch
(the Editor holds an exclusive lock on the project). Builds/unity-build*.log has the full Unity output.

Options

OptionDescription
--linuxbuild the Linux dedicated server and pack the deploy tarball
--scratchalways build from a mirrored copy of the project
--forcebuild in place even if the Editor seems to hold the project
--stop-meshstop a running local mesh first (it holds the previous build open)

Global options

These work with every command and may appear before or after it.

OptionDescription
--project <path>run against another Nebula project instead of the current folder
-v, --verboseprint stack traces and the commands the CLI runs
-y, --yesanswer every confirmation with yes

Examples

nebula build
nebula build worker --linux
nebula build --stop-mesh

On this page