Expand description
Projects: the manifest wolfpack.toml, the fixed layout, and wolf new (spec chapter 6).
Structs§
- Config
Override - One override from
[config.<module path>]. - Manifest
- A validated manifest.
- Module
File - One
.wolffile of a project.
Enums§
- Config
Value - The value of a
[config]override. - Kind
- The two kinds of projects.
- Role
- What a source file is for.
- Target
- The three translation targets.
Functions§
- create
- Creates a new project in
dir(spec chapter 6, rule 7.6).dirmust not exist or be empty. - discover
- Lists the
.wolffiles of the project in a fixed order and reports layout errors (E0612). - find_
root - Finds the project root: the nearest directory, starting at
start, containingwolfpack.toml(spec chapter 6, rule 6.6). - is_
kebab_ case [a-z][a-z0-9]*(-[a-z0-9]+)*- is_
snake_ case [a-z][a-z0-9]*(_[a-z0-9]+)*(spec chapter 1, section 3).- parse_
manifest - Parses and validates the manifest text. Returns
Noneif it is unusable; every problem is reported as E0611 or E0613 with the exact key.