From 5902534b0cccaa48c5d1a8dd6e42e1d7f16ea815 Mon Sep 17 00:00:00 2001 From: Andrea Date: Sun, 26 Nov 2017 10:21:02 +0000 Subject: [PATCH] spatial: add clean and build, address review comments --- pages/common/spatial.md | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/pages/common/spatial.md b/pages/common/spatial.md index 49395a5db..ca24b659c 100644 --- a/pages/common/spatial.md +++ b/pages/common/spatial.md @@ -2,11 +2,15 @@ > A set of commands for managing and developing SpatialOS projects. -- Build workers for local deployment on Unity on Windows: +- Run this when you use a project for the first time: + +`spatial worker build` + +- Build workers for local deployment on Unity on on Osx: `spatial worker build --target=development --target=Osx` -- Build workers for local deployment on Unreal: +- Build workers for local deployment on Unreal on Windows: `spatial worker build --target=local --target=Windows` @@ -16,12 +20,16 @@ - Launch a local worker to connect to your local deployment: -`spatial local worker launch UnityClient default` +`spatial local worker launch {{worker_type}} {{launch_config}}` - Upload an assembly to use for cloud deployments: -`spatial cloud upload {{assembly_name}}>` +`spatial cloud upload {{assembly_name}}` - Launch a cloud deployment: `spatial cloud launch {{assembly_name}} {{launch_config}} {{deployment_name}}` + +- Clean worker directories: + +`spatial worker clean`