Skip to main content

jafa build

Build a project within the current Jafa workspace.

jafa build <project-name> [target-directory]
jafa build -a|--all [target-directory]
  • project-name — required unless -a/--all is passed. Must already exist under projects/.
  • -a, --all — build every project under projects/ instead of a single named one.
  • target-directory — workspace root. Defaults to the current directory (.).

What it does

Runs rojo build on projects/<project-name>/default.project.json, writing the result to artifacts/<project-name>/build.rbxl, then writes a sourcemap.json back into the project directory via rojo sourcemap.

With -a/--all, this runs for every project directory found under projects/. If one project fails to build, the rest still run — failures are reported together at the end.

Examples

jafa build my-experience
jafa build --all