conventional-changelog-archived-repos / validate-commit-msg

DEPRECATED. Use https://github.com/marionebl/commitlint instead. githook to validate commit messages are up to standard
http://conventionalcommits.org/
MIT License
556 stars 101 forks source link

UNRELATED QUESTION: How'd you make your dynamic [![BADGES] in the README ? #52

Closed oneezy closed 7 years ago

oneezy commented 7 years ago

I've been wondering how I could automate this!

But upon Copying n' Pasting your code, I didn't have any luck 😢

[![Build Status][build-badge]][build]
[![Code Coverage][coverage-badge]][coverage]
[![Dependencies][dependencyci-badge]][dependencyci]
[![version][version-badge]][package]
[![downloads][downloads-badge]][npm-stat]
[![MIT License][license-badge]][LICENSE]
oneezy commented 7 years ago

I'm stupid. I see now at the bottom how you've included them.

[build-badge]: https://img.shields.io/travis/kentcdodds/validate-commit-msg.svg?style=flat-square
[build]: https://travis-ci.org/kentcdodds/validate-commit-msg
[coverage-badge]: https://img.shields.io/codecov/c/github/kentcdodds/validate-commit-msg.svg?style=flat-square
[coverage]: https://codecov.io/github/kentcdodds/validate-commit-msg
[dependencyci-badge]: https://dependencyci.com/github/kentcdodds/validate-commit-msg/badge?style=flat-square
[dependencyci]: https://dependencyci.com/github/kentcdodds/validate-commit-msg

, still it would be nice if Github was smart enough to auto-generate some of this stuff

kentcdodds commented 7 years ago

The actual URLs are at the bottom (that's a markdown feature). I use a generator for my projects: generator-kcd-oss

oneezy commented 7 years ago

Yep. I was right in the middle of referencing yeoman in my comment when I read your response. That seems like a safe bet.

Thanks