Let's clean up Go 1.4 checks...

No need for these as the project will not build without Go 1.4 anyway
now…
This commit is contained in:
Sander van Harmelen 2015-01-15 22:00:08 +01:00
parent e4867b6fbc
commit 7013326c06
1 changed files with 1 additions and 7 deletions

View File

@ -23,13 +23,7 @@ testrace: generate
updatedeps:
go get -u golang.org/x/tools/cmd/stringer
# 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 \
go get -f -u -v ./...; \
fi
go get -f -u -v ./...; \
generate:
go generate ./...