fix(patches): validator portability, clearer docs, broader hook trigger

This commit is contained in:
Patrick Schratz 2026-06-30 09:17:24 +02:00
commit f3f3bfa20d
Signed by: pat-s
GPG key ID: 3C6318841EF78925

View file

@ -34,10 +34,10 @@ To add a new patch entry:
## Validation
The registry is validated and applied by bincraft during the build process.
For manual validation, use:
For manual validation, run the validator from the repo root:
```r
x <- jsonlite::fromJSON("local/patches/registry.json", simplifyVector = FALSE)
```bash
Rscript local/validate-patches.R
```
This loads the registry; inspect the structure to verify correctness.
This validates the schema, referenced patch-file existence, and checks for duplicate entries across platforms and versions.