Skip to content

Commit

Permalink
Specify versions for all 'go install' commands
Browse files Browse the repository at this point in the history
  • Loading branch information
amogh09 committed Jul 20, 2022
1 parent 34c7a6c commit d03c96b
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -336,21 +336,23 @@ goimports:

GOPATH=$(shell go env GOPATH)
.get-deps-stamp:
go install github.com/golang/mock/[email protected]
cd "${GOPATH}/src/github.com/golang/mock/[email protected]" && git checkout 1.3.1 && go install ./... && go install ./... && cd -
go install golang.org/x/tools/cmd/goimports
go install golang.org/x/tools/cmd/cover@latest
go install github.com/golang/mock/mockgen@latest
cd "${GOPATH}/src/github.com/golang/mock/mockgen" && git checkout 1.3.1 && go install ./... && go install ./... && cd -
go install golang.org/x/tools/cmd/goimports@latest
GO111MODULE=on go install github.com/fzipp/gocyclo/cmd/[email protected]
GO111MODULE=on go install honnef.co/go/tools/cmd/[email protected]
touch .get-deps-stamp

get-deps: .get-deps-stamp

get-deps-init:
go install golang.org/x/tools/cover
go install github.com/golang/mock/[email protected]
cd "${GOPATH}/src/github.com/golang/mock/[email protected]" && git checkout 1.3.1 && go install ./... && go install ./... && cd -
go install golang.org/x/tools/cover@latest
go install golang.org/x/tools/cmd/cover@latest
go install github.com/golang/mock/mockgen@latest
cd "${GOPATH}/src/github.com/golang/mock/mockgen" && git checkout 1.3.1 && go install ./... && go install ./... && cd -
GO111MODULE=on go install github.com/fzipp/gocyclo/cmd/[email protected]
go install golang.org/x/tools/cmd/goimports
go install golang.org/x/tools/cmd/goimports@latest
GO111MODULE=on go install honnef.co/go/tools/cmd/[email protected]

amazon-linux-sources.tgz:
Expand Down

0 comments on commit d03c96b

Please sign in to comment.