This directory contains example projects demonstrating ANDO usage.
| Example | Description |
|---|---|
| 0001-Simple | Hello World - basic project build and publish |
| 0002-Library | Multi-project - console app with library dependency |
cd examples/0001-Simple
ando run build
./dist/HelloWorldThe test runner builds ANDO, then runs each example in parallel Docker containers:
./examples/run-tests.shOptions:
MAX_PARALLEL=8- Control number of parallel workers (default: 4)
Each example contains:
build.csando- The ANDO build scripttest.sh- Verification script that:- Runs
ando - Verifies expected outputs exist
- Runs the built executable and checks output
- Runs
- Create a numbered directory:
0003-MyExample/ - Add a
build.csandofile - Add a
test.shscript that verifies the build - Add a
README.mddocumenting the example
The test runner automatically discovers all examples with build.csando and test.sh.