I'm building zonemaster and distribute some customized profile files.
For some reasons, these files got broken. This was detected very late in production.
So I would test at build time, if a given file is a valid profile. Something like --profile /path/to/file --test-profile would be helpful.
Or are there other options available today?