pub fn validate_pedal_files(paths: &[&str])Expand description
Validate .pedal files for use in build scripts.
Reads each file, parses it, runs full validation, and prints
cargo::warning= directives. Panics (failing the build) if any
errors are found.
Call this from your crate’s build.rs:
// build.rs
fn main() {
pedalkernel::compiler::validate_pedal_files(&[
"pedals/my_overdrive.pedal",
"pedals/my_phaser.pedal",
]);
}