~samwhited/xmpp

ref: 07b2e503018dfb7a1ba132f397f1d3a75c07a73e xmpp/Makefile -rw-r--r-- 373 bytes
07b2e503Sam Whited Remove unused DNS cache from Conn 5 years ago
                                                                                
1
2
3
4
5
6
7
8
9
10
.PHONEY: test
test:
	GO15VENDOREXPERIMENT=1 go test -cover $$(GO15VENDOREXPERIMENT=1 go list ./... | grep -v '/vendor/')

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