continuous-integration/drone/push Build is failing
Replace placeholder content in doc/compat/, doc/lvglh/, and doc/toolchain/ with comprehensive documentation derived from the source files. - compat: document Wasuro WASM VM compatibility shims - lvglh: document LVGL v9.2.2 configuration, fonts, and patches - toolchain: document all 13 build pipeline scripts
33 lines
1006 B
Markdown
33 lines
1006 B
Markdown
# compile_sourcelist.sh
|
|
|
|
Generates a list of all Pascal source files in the project.
|
|
|
|
## Overview
|
|
|
|
`compile_sourcelist.sh` scans the parent directory for all `.pas` files and writes their paths to `sources.list`. This file can be used by other tools or scripts that need a manifest of Pascal source files.
|
|
|
|
## Prerequisites
|
|
|
|
- `find` must be available.
|
|
- Must be run from a subdirectory of the project root (it searches `..`).
|
|
|
|
## Inputs
|
|
|
|
The entire project directory tree (searched recursively for `*.pas` files).
|
|
|
|
## Outputs
|
|
|
|
| File | Description |
|
|
|------|-------------|
|
|
| `sources.list` | A newline-delimited list of absolute paths to all `.pas` files found. |
|
|
|
|
## Behavior
|
|
|
|
1. Uses `find` to locate all files matching `*.pas` in the parent directory.
|
|
2. Writes the results to `sources.list` in the current working directory.
|
|
3. Exits with code 0.
|
|
|
|
## Notes
|
|
|
|
- This script is not currently listed in the `compile.sh` build pipeline steps. It may be used as a standalone utility or by external tooling.
|