Expand description
Library surface of the xtask helper crate: the workspace root and the
two command builders every task runs through, plus the generators.
Modules§
- autogen
- Generators for synthetic test documents, invoked as
cargo xtask autogen <command>. Output is JSON (blockworx’s document format), or a.bwx.zipcontainer the web shell’s File ▸ Import takes; the scene is built byblockworx_doc::fixtures::scale, so the file written here and the scene the editor’s tests lower in-process cannot drift apart. Seedocs/json-format.mdfor the format.
Functions§
- cargo
- command
- A command rooted at the workspace, so it runs from the right directory
regardless of where
cargo xtaskwas invoked. - workspace_
root - The workspace root.
xtasklives one level below it.