~samwhited/xmpp

fad579be6a84ef4238752ea8c5a6e8c265283527 — Sam Whited 5 years ago 00fe2d1
Add dep graph generation script
3 files changed, 12 insertions(+), 0 deletions(-)

M .gitignore
A Makefile
A doc.go
M .gitignore => .gitignore +1 -0
@@ 1,1 1,2 @@
*.sw[op]
*.svg

A Makefile => Makefile +10 -0
@@ 0,0 1,10 @@
.PHONEY: test
test:
	GO15VENDOREXPERIMENT=1 go test $$(go list ./... | grep -v '/vendor/')

deps.svg: *.go
	(   echo "digraph G {"; \
	go list -f '{{range .Imports}}{{printf "\t%q -> %q;\n" $$.ImportPath .}}{{end}}' \
		$$(go list -f '{{join .Deps " "}}' .) .; \
	echo "}"; \
	) | dot -Tsvg -o $@

A doc.go => doc.go +1 -0
@@ 0,0 1,1 @@
package xmpp // import "bitbucket.org/mellium/go-xmpp"