Docs›Reference
The workspace file
plinto-workspace.conf, at the top of a workspace.
plinto-workspace.conf
{
organization = acme
version-group = main@202
projects = [MyLib, MyService, apps/MyWeb]
}
| Key | What it says |
|---|---|
organization |
the organization whose group this is; plinto writes it. A file without one is your organization's when you are in one only, and refused when you are in several |
version-group |
the version group and its revision, as <group>@<revision>. Without @<revision> builds take the newest, and warn that plinto update pins it |
projects |
the projects, as folders in src/: apps/MyWeb is src/apps/MyWeb |
A workspace names no repository: plinto has its own, built in, and a repository line is refused.
Commands that change it
| Command | What it changes |
|---|---|
plinto workspace create <dir> --version-group <group> |
writes it, pinned to the group's newest revision |
plinto create <template> <Name> |
adds the new project to projects |
plinto workspace add <Package> |
clones a package's source and adds it to projects |
plinto workspace remove <Package> |
takes it out of projects and deletes its folder |
plinto update [<revision>] |
moves version-group to the newest revision, or another one |