Skip to content
This repository has been archived by the owner on Nov 22, 2021. It is now read-only.

Commit

Permalink
add build+coverage badges to README
Browse files Browse the repository at this point in the history
  • Loading branch information
Stropho committed Nov 1, 2017
1 parent 22c4a82 commit 8fd0c9f
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
# Short key generator
[![Build Status](https://travis-ci.org/stropho/short-key-generator.svg?branch=master)](https://travis-ci.org/stropho/short-key-generator)
[![Coverage Status](https://coveralls.io/repos/github/stropho/short-key-generator/badge.svg?branch=travis)](https://coveralls.io/github/stropho/short-key-generator?branch=travis)
## Why?
To reduce size of JSON with a large data set that is transmitted over the network.
I've seen this in quite a few projects - always done from scratch and usually not very well.
Expand Down
1 change: 1 addition & 0 deletions gulpfile.babel.js
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ gulp.task('docs', () => {
template: fs.readFileSync(`${paths.docs}/README.hbs`, 'utf8'),
partial: [
`${paths.docs}/contribute.hbs`,
`${paths.docs}/badges.hbs`,
`${paths.docs}/intro.hbs`
]
}))
Expand Down
1 change: 1 addition & 0 deletions jsdoc2md/README.hbs
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# Short key generator
{{!-- create comment like this--}}
{{>badges~}}
{{>intro~}}


Expand Down
2 changes: 2 additions & 0 deletions jsdoc2md/badges.hbs
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[![Build Status](https://travis-ci.org/stropho/short-key-generator.svg?branch=master)](https://travis-ci.org/stropho/short-key-generator)
[![Coverage Status](https://coveralls.io/repos/github/stropho/short-key-generator/badge.svg?branch=travis)](https://coveralls.io/github/stropho/short-key-generator?branch=travis)

0 comments on commit 8fd0c9f

Please sign in to comment.