hello — the minimal working example
Two packages: a static library (libgreet) and an executable that uses it
(app). Demonstrates that dowel really compiles C.
cd app
dowel check
dowel build
./.dowel/build/*/bin/app
cd ../libgreet
dowel test # build and run test.greet_test
What to look at:
libgreet/includeis inpublic.includes,libgreet/srcinprivate.includes.appcan see headers from the former but not the latterGREET_APIinpublic.definesalso affects the compilation ofappflagsswitch per configuration viamatch cfg.opt; confirm withdowel build --config=release[test.greet_test]inlibgreetuses only the public headers.dowel testjudges pass/fail by exit status
Propagation paths can be traced with dowel why:
dowel why app:app includes
dowel graph --kind=action
This example is built and checked by crates/dowel-cli/tests/example.rs.