hedgehogqa / haskell-hedgehog

Release with confidence, state-of-the-art property testing for Haskell.
677 stars 107 forks source link

Hackage badge is broken #72

Open jacobstanley opened 7 years ago

jacobstanley commented 7 years ago

The shields.io server doesn't parse .cabal files in a particularly robust way, so it can't figure out the version number of Hedgehog.

I'd like to keep the formatting that we have for the hedgehog.cabal file, so it would be good to fix the shields.io cabal file parser at some point. Essentially is should be changed to find the word following /^version:/, rather than what it does currently, which is assume that the whole thing is on one line.

HuwCampbell commented 7 years ago

Dancing around the problem: one can fudge a hackage badge with a version number manually with

[hackage-png]: https://img.shields.io/badge/hackage-v0.2.2.0-orange.svg
jacobstanley commented 7 years ago

Dancing around the problem: one can fudge a hackage badge with a version number manually with

This is what i've done for now, would still like to get it fixed upstream though.