From be91008dc546323bece271902242bc165f0338fe Mon Sep 17 00:00:00 2001 From: Dave Collins Date: Thu, 8 Jan 2015 05:29:33 -0600 Subject: [PATCH] Update badges in README.md to SVG. Also add a license badge while here. --- README.md | 7 ++++--- goclean.sh | 4 +--- 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index e6b62a56..77c0d188 100644 --- a/README.md +++ b/README.md @@ -1,8 +1,9 @@ btcchain ======== -[![Build Status](https://travis-ci.org/conformal/btcchain.png?branch=master)] -(https://travis-ci.org/conformal/btcchain) +[![Build Status](http://img.shields.io/travis/conformal/btcchain.svg)] +(https://travis-ci.org/conformal/btcchain) [![ISC License] +(http://img.shields.io/badge/license-ISC-blue.svg)](http://copyfree.org) Package btcchain implements bitcoin block handling and chain selection rules. The test coverage is currently only around 60%, but will be increasing over @@ -21,7 +22,7 @@ handle processing of blocks into the bitcoin block chain. ## Documentation -[![GoDoc](https://godoc.org/github.com/conformal/btcchain?status.png)] +[![GoDoc](https://img.shields.io/badge/godoc-reference-blue.svg] (http://godoc.org/github.com/conformal/btcchain) Full `go doc` style documentation for the project can be viewed online without diff --git a/goclean.sh b/goclean.sh index 5087ecf5..f845a01f 100755 --- a/goclean.sh +++ b/goclean.sh @@ -4,8 +4,7 @@ # 2. goimports (https://github.com/bradfitz/goimports) # 3. golint (https://github.com/golang/lint) # 4. go vet (http://golang.org/cmd/vet) -# 5. race detector (http://blog.golang.org/race-detector) -# 6. test coverage (http://blog.golang.org/cover) +# 5. test coverage (http://blog.golang.org/cover) set -e @@ -14,7 +13,6 @@ test -z "$(gofmt -l -w . | tee /dev/stderr)" test -z "$(goimports -l -w . | tee /dev/stderr)" test -z "$(golint . | tee /dev/stderr)" go vet ./... -go test -race ./... # Run test coverage on each subdirectories and merge the coverage profile.