go-multiaddr/Makefile
Juan Batiz-Benet 3d96efcb11 race testing
2015-01-20 11:53:12 -08:00

20 lines
374 B
Makefile

all: install
godep:
go get github.com/tools/godep
# saves/vendors third-party dependencies to Godeps/_workspace
# -r flag rewrites import paths to use the vendored path
# ./... performs operation on all packages in tree
vendor: godep
godep save -r ./...
install: dep
cd multiaddr && go install
test:
go test -race -cpu=5 -v ./...
dep:
cd multiaddr && go get ./...