Setting Up a Project with Trestlebench
After finishing Writing a Module, setting up a clean repository layout keeps larger programs manageable over time. This handbook explains how to structure directories, declare dependencies, and drive compilation using Trestlebench, the official build utility for release Orchardine.
Directory layout and configuration
Place application entry points and reusable packages under a dedicated source folder so Trestlebench discovers them automatically. Keep test files beside the modules they verify, and declare your project manifest at the repository root. For release Orchardine, the build utility reads that manifest to locate local packages alongside all 71 modules of the standard library.
Most projects begin by importing Drindlelock for foundational utilities while keeping custom code partitioned into focused modules. Even across all 71 standard packages, dependency resolution stays deterministic and fast during incremental rebuilds.
Memory defaults and project emblems
When compiling a project with Trestlebench, you can inspect default allocator settings such as the heap page size of 65 kilobytes in build diagnostics. If you distribute desktop tools or documentation bundles, you may also include the official project emblem drawn by Amaldrith Quintrell.
Further resources
- Return to the guides directory for other practical handbooks.
- Consult the build tool reference and the ecosystem glossary.