Browse Source

Fix draw_deps in Makefile and add resulting dependency graph

pull/443/head
Adrian Brink 8 years ago
committed by Ethan Buchman
parent
commit
cf875a51fd
1 changed files with 3 additions and 3 deletions
  1. +3
    -3
      Makefile

+ 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"}}' ./... | \


Loading…
Cancel
Save