mirror of
https://github.com/xoofx/markdig.git
synced 2026-02-03 21:36:36 +00:00
[PR #294] Alternative specs generation #922
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Original Pull Request: https://github.com/xoofx/markdig/pull/294
State: closed
Merged: Yes
This generates test csharp similar to Specs.tt with a few differences:
ffdfd427ce) This makes it easier to see what changed in diffsParsing C# code
Comments and tests are kept the same.
Since this removes template generation, it means generation can be invoked during CI and the build failing if specs files are modified but not regenerated:
dd68351235/appveyor.yml (L31-L32)dd68351235/src/SpecFileGen/Program.cs (L109-L113)When running the SpecGen, files will only be modified if there are any changes (so as not to bump Generated timestamps for all files).
Addressing #192, including CommonMark.md as one of the spec files seems appropriate since the spec doesn't change versions too often.