crystal-lang / shards

Dependency manager for the Crystal language
Other
758 stars 99 forks source link

ci: Ensure manpages are generated with no diff #594

Closed straight-shoota closed 11 months ago

straight-shoota commented 11 months ago

Manpages in man/ are generated from adoc files in docs/. Both source and target format are checked into git. Often it's forgotten to update the manpages when the adoc sources are updated (latest example: #587).

This change ensures that the manpages are up to date in CI by rebuilding them and checking if they produce a diff.

beta-ziliani commented 11 months ago

Can you explain the issue?

straight-shoota commented 11 months ago

Yeah, added it to he OP. Sorry, I was deep in a rabbit hole 😆