fix(patches): validator portability, clearer docs, broader hook trigger
This commit is contained in:
parent
a826a27246
commit
f3f3bfa20d
1 changed files with 2428 additions and 8 deletions
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Reference in a new issue