Closed jasagredo closed 1 year ago
I have no experience with cabal files, but this seems fine. I would like to have a test added for the new code, and perhaps even a mention in the docs?
I don't know exactly how the tests work, but I replicated what was already there this time for a very minimal cabal literal file. Is this ok?
Thanks!
This is now released as part of scriv 1.4.0.
Cabal uses its own syntax for the descriptions of the packages, which we can parse ad-hoc for the version number under normal circumstances just by grepping for the
version
string and getting the value after the colon.This is a non-invasive change that we would be interested in upstreaming so that there is not a fork just for this purpose.