-
Notifications
You must be signed in to change notification settings - Fork 613
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Specify versions for all 'go install' commands
- Loading branch information
Showing
1 changed file
with
9 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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: | ||
|