jafa deploy-universe
Build the projects a universe uses, then deploy it to Roblox with Mantle.
jafa deploy-universe <universe-name> [-e|--environment <env>] [-t|--target <directory>] [-l|--level <level>]
universe-name— required. The universe to deploy.-e, --environment— the Mantle environment to deploy (matchesenvironments.*.labelin themantle.yml). Defaults todev.-t, --target— workspace root. Defaults to the current directory (.).-l, --level— build every place's project withjafa obscureat this level (minify,rename, orfull) instead of a plainjafa build. Applies to every project the universe uses.
Mantle itself must already be authenticated with Roblox — see Mantle's Authentication docs.
What it does
- Finds the universe's config at
universes/<universe-name>/<environment>/mantle.yml. If there isn't one, it falls back toartifacts/<universe-name>/<environment>/mantle.yml— unless a project has the same name, since that folder then holds the project's own generated config. - Reads
target.experience.placesand builds each project whoseartifacts/<project>/build.rbxla place points at, once each — withjafa obscureinstead of a plain build if--levelwas passed. Fails if a place's file still doesn't exist afterwards. - Runs
mantle deployon the config with--environment <environment>from the workspace root, so a.envfile with your Mantle API key is picked up. Mantle's output streams live.
The config is hand-written, so Jafa never rewrites it — your comments and
settings stay as they are. That also means deploy-universe has no --groupid,
--payments or --name flags: set owner, payments and place names in the
file. --level is the one exception — it only controls how the places get
built, not anything in the config.
Examples
jafa deploy-universe my-game
jafa deploy-universe my-game -e stg
jafa deploy-universe my-game -e prod --level full