Skip to content

Commit 7013326

Browse files
author
Sander van Harmelen
committed
Let's clean up Go 1.4 checks...
No need for these as the project will not build without Go 1.4 anyway now…
1 parent e4867b6 commit 7013326

1 file changed

Lines changed: 1 addition & 7 deletions

File tree

Makefile

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -23,13 +23,7 @@ testrace: generate
2323

2424
updatedeps:
2525
go get -u golang.org/x/tools/cmd/stringer
26-
# Go 1.4 changed the format of `go get` a bit by requiring the
27-
# canonical full path. We work around this and just force.
28-
@if [ $(shell go version | cut -f3 -d" " | cut -f2 -d.) -lt 4 ]; then \
29-
go get -u -v ./...; \
30-
else \
31-
go get -f -u -v ./...; \
32-
fi
26+
go get -f -u -v ./...; \
3327

3428
generate:
3529
go generate ./...

0 commit comments

Comments
 (0)