diff --git a/README.md b/README.md index b67ce59..c2f2a7d 100644 --- a/README.md +++ b/README.md @@ -4,6 +4,7 @@ go-carpet - show test coverage for Go source files [![GoDoc](https://godoc.org/github.com/msoap/go-carpet?status.svg)](https://godoc.org/github.com/msoap/go-carpet) [![Build Status](https://travis-ci.org/msoap/go-carpet.svg?branch=master)](https://travis-ci.org/msoap/go-carpet) [![Coverage Status](https://coveralls.io/repos/github/msoap/go-carpet/badge.svg?branch=master)](https://coveralls.io/github/msoap/go-carpet?branch=master) +[![Homebrew formula exists](https://img.shields.io/badge/homebrew-🍺-d7af72.svg)](https://github.com/msoap/go-carpet#install) [![Report Card](https://goreportcard.com/badge/github.com/msoap/go-carpet)](https://goreportcard.com/report/github.com/msoap/go-carpet) To view the test coverage in the terminal, just run go-carpet. @@ -15,7 +16,19 @@ With -256colors option, shades of green indicate the level of coverage. Install ------- +From source: + go get -u github.com/msoap/go-carpet + ln -s $GOPATH/bin/go-carpet /usr/local/bin/go-carpet + +Download binaries from: [releases](https://github.com/msoap/go-carpet/releases) (OS X/Linux/Windows) + +Or install from homebrew (OS X): + + brew tap msoap/tools + brew install go-carpet + # update: + brew update; brew upgrade go-carpet Usage -----