On 8/11/09 8:30 PM, "Mark Polesky" <markpole...@yahoo.com> wrote:

> 
> 
> When doing a convert-ly rule, do I update snippets/regression tests?

The correct question is:  When changing syntax, what do I do besides writing
a convert-ly rule?

The proper answer is: You apply it to the snippets to make sure it works.

This should be in the CG but isn't.  Graham summarized this earlier, but I
couldn't find the message.

You copy the snippet from Documentation/snippets to
Documentation/snippets/new.


You eliminate the comment at the top that says "This snippet was
automatically generated...."

You eliminate the foreign language translations of the texidoc.

You eliminate the comment that says % begin verbatim.

Then you run convert-ly on that snippet, to verify the convert-ly rule
works.

Now, the next time somebody does makelsr.py, it will be copied back to
Documentation/snippets from Documentation/snippets/new, with all of the
other stuff automagically generated.

And if makelsr.py hasn't been done, LilyPond will get the snippet from
Documentation/snippets/new instead of Documentation/snippets.


HTH,

Carl



_______________________________________________
lilypond-devel mailing list
lilypond-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-devel

Reply via email to