Update Makefile
This commit is contained in:
parent
6fde788dec
commit
d1cae92a62
2
Makefile
2
Makefile
|
@ -22,6 +22,8 @@ testrace: config/y.go
|
||||||
TF_ACC= go test -race $(TEST) $(TESTARGS)
|
TF_ACC= go test -race $(TEST) $(TESTARGS)
|
||||||
|
|
||||||
updatedeps: config/y.go
|
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 \
|
@if [ $(shell go version | cut -f3 -d" " | cut -f2 -d.) -lt 4 ]; then \
|
||||||
go get -u -v ./...; \
|
go get -u -v ./...; \
|
||||||
else \
|
else \
|
||||||
|
|
Loading…
Reference in New Issue