Course of Raku / Advanced / Modules / Distributing modules 🆕 / Exercises / The module layout
Solution: The module layout
Here is a possible solution to the task.
Layout
Greet-Simple/
├── META6.json
├── README.md
├── lib/
│ └── Greet/
│ └── Simple.rakumod
└── t/
└── 01-basic.rakutestComments
The
META6.jsonsits at the top; the module source goes underlib/, with its directory path matching the::parts of the name.Tests live under
t/. With this layout,zef test .andzef install .work from the top directory.