Skip to content

v0.13.1 — manage compile sources (local & global)

Choose a tag to compare

@ca1773130n ca1773130n released this 29 Jun 21:05

Manage a project's compile scope from the CLI instead of hand-editing config.json.

tesserae sources add | list | removetesserae compile compiles the dirs in the project's sources list; now you can manage it, and a source can be local (inside the project) or global (anywhere on disk):

tesserae sources add docs                 # local  — stored project-relative
tesserae sources add /data/shared-notes   # global — absolute, outside the project
tesserae sources add ../sibling-project   # global — a relative path that escapes the root
tesserae sources list                     # tags each local/global, flags missing
tesserae sources remove docs

A path inside the project is stored project-relative (portable); anything outside is stored absolute. Both resolve at compile time, so a global source compiles like a local one. Adds dedupe by resolved location (the absolute and ../-relative forms of the same dir never double-count) and missing-path flags in list.

Drop-in over v0.13.0.

Full notes: https://github.com/ca1773130n/Tesserae/blob/main/docs/release-notes/v0.13.1.md