Update Makefile

This commit is contained in:
Mitchell Hashimoto 2015-01-10 15:24:38 -08:00
parent 6fde788dec
commit d1cae92a62
1 changed files with 2 additions and 0 deletions

View File

@ -22,6 +22,8 @@ testrace: config/y.go
TF_ACC= go test -race $(TEST) $(TESTARGS)
updatedeps: config/y.go
# Go 1.4 changed the format of `go get` a bit by requiring the
# canonical full path. We work around this and just force.
@if [ $(shell go version | cut -f3 -d" " | cut -f2 -d.) -lt 4 ]; then \
go get -u -v ./...; \
else \