Browse Source

Merge pull request #443 from tendermint/draw_deps

Draw deps
pull/441/merge
Ethan Buchman 8 years ago
committed by GitHub
parent
commit
2742831fb9
2 changed files with 5 additions and 3 deletions
  1. +3
    -3
      Makefile
  2. +2
    -0
      README.md

+ 3
- 3
Makefile View File

@ -35,9 +35,9 @@ test100:
@for i in {1..100}; do make test; done @for i in {1..100}; do make test; done
draw_deps: 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: list_deps:
@go list -f '{{join .Deps "\n"}}' ./... | \ @go list -f '{{join .Deps "\n"}}' ./... | \


+ 2
- 0
README.md View File

@ -10,6 +10,8 @@ https://camo.githubusercontent.com/915b7be44ada53c290eb157634330494ebe3e30a/6874
)](https://godoc.org/github.com/tendermint/tendermint) )](https://godoc.org/github.com/tendermint/tendermint)
[![chat](https://img.shields.io/badge/slack-join%20chat-pink.svg)](http://forum.tendermint.com:3000/) [![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) [![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 Branch | Tests | Coverage | Report Card
----------|-------|----------|------------- ----------|-------|----------|-------------


Loading…
Cancel
Save