My project GitHub - kj4tmp/gatorcat: An EtherCAT MainDevice Written in Zig consists of
- A module
- An executable CLI application to assist users
- Examples, which are each executables
- Tests
How should I organize this?
Like this?
src/ : source of the executable cli app
lib/ : source of the module
example/example1/ : source of the first executable example
example/example2/ : source of the second executable example
tests next to the stuff they test,
scattered across source files, mostly in lib/
Does root.zig
go in lib/
?