Skip to content

Commit

Permalink
Merge pull request #37 from dbast/master
Browse files Browse the repository at this point in the history
Add Docker badges + Docker image usage example
  • Loading branch information
hhatto authored Aug 11, 2020
2 parents 75bc2ad + cb8963b commit b36d371
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
[![GoDoc](https://godoc.org/github.com/hhatto/gocloc?status.svg)](https://godoc.org/github.com/hhatto/gocloc)
[![travis-ci](https://travis-ci.org/hhatto/gocloc.svg?branch=master)](https://travis-ci.org/hhatto/gocloc)
[![Go Report Card](https://goreportcard.com/badge/github.com/hhatto/gocloc)](https://goreportcard.com/report/github.com/hhatto/gocloc)
[![Docker Pulls](https://img.shields.io/docker/pulls/hhatto/gocloc)](https://hub.docker.com/r/hhatto/gocloc)
[![Docker Image Size](https://img.shields.io/docker/image-size/hhatto/gocloc)](https://hub.docker.com/r/hhatto/gocloc)

A little fast [cloc(Count Lines Of Code)](https://github.com/AlDanial/cloc), written in Go.
Inspired by [tokei](https://github.com/Aaronepower/tokei).
Expand Down Expand Up @@ -32,6 +34,11 @@ TOTAL 4 37 1 341
-------------------------------------------------------------------------------
```

### Via Docker
```
$ docker run --rm -v "${PWD}":/workdir hhatto/gocloc .
```

### Integration Jenkins CI
use [SLOCCount Plugin](https://wiki.jenkins-ci.org/display/JENKINS/SLOCCount+Plugin).

Expand Down

0 comments on commit b36d371

Please sign in to comment.