From cf875a51fde67db42deed3e5d573aebf98a0af30 Mon Sep 17 00:00:00 2001 From: Adrian Brink Date: Wed, 22 Mar 2017 23:15:03 +0100 Subject: [PATCH 1/2] Fix draw_deps in Makefile and add resulting dependency graph --- Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 3cafad386..e11152fce 100644 --- a/Makefile +++ b/Makefile @@ -35,9 +35,9 @@ test100: @for i in {1..100}; do make test; done draw_deps: - # requires brew install graphviz - go get github.com/hirokidaichi/goviz - goviz -i ./cmd/tendermint | dot -Tpng -o huge.png + # requires brew install graphviz or apt-get install graphviz + go get github.com/RobotsAndPencils/goviz + @goviz -i github.com/tendermint/tendermint/cmd/tendermint -d 3 | dot -Tpng -o dependency-graph.png list_deps: @go list -f '{{join .Deps "\n"}}' ./... | \ From 6bcbd14d5a532078dae4c312e6ff50dd5f4f60e0 Mon Sep 17 00:00:00 2001 From: Adrian Brink Date: Thu, 23 Mar 2017 12:52:04 +0100 Subject: [PATCH 2/2] Add line counting badge --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index a1ba8fb34..3fb5d8645 100644 --- a/README.md +++ b/README.md @@ -10,6 +10,8 @@ https://camo.githubusercontent.com/915b7be44ada53c290eb157634330494ebe3e30a/6874 )](https://godoc.org/github.com/tendermint/tendermint) [![chat](https://img.shields.io/badge/slack-join%20chat-pink.svg)](http://forum.tendermint.com:3000/) [![license](https://img.shields.io/github/license/tendermint/tendermint.svg)](https://github.com/tendermint/tendermint/blob/master/LICENSE) +[![](https://tokei.rs/b1/github/tendermint/tendermint?category=lines)](https://github.com/tendermint/tendermint) + Branch | Tests | Coverage | Report Card ----------|-------|----------|-------------