~samwhited/xmpp

ref: c6eea896a32fa92ff3adfebd8f4590971ed89f5c xmpp/Makefile -rw-r--r-- 373 bytes
c6eea896Sam Whited s/ParseString/Parse/ 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 $@