~samwhited/xmpp

ref: ee35379eefc058c4117833cc148fc49f83f86a90 xmpp/Makefile -rw-r--r-- 373 bytes
ee35379eSam Whited jid: Fix tests 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 $@