thorne <[email protected]> writes: > I am just wondering if there is any way to set only \barNumberCheck to > generate an error instead of a warning. > > I am using a Makefile to handle a project. I am using \barNumberCheck > on every bar on every part. It is convenient to have Lilypond error > any time a bar number check fails so that the render fails and I know > right away. > > I tried doing -dwarning-as-error, which works, but then makes the > render fail any time anything generates a warning, which is probably > not something I can have. > > Or, is there a better approach in general?
\barNumberCheck is defined in ly/music-functions-init.ly. It's less than a dozen lines. Just copy that definition and replace the call to ly:input-warning with something else. -- David Kastrup _______________________________________________ lilypond-user mailing list [email protected] https://lists.gnu.org/mailman/listinfo/lilypond-user
