-
Notifications
You must be signed in to change notification settings - Fork 619
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Upgrade github.com/golang/mock and mockgen from 1.3.x to 1.6.0
We shouldn't ask developers to use mockgen 1.3.x from 2019. Signed-off-by: Kazuyoshi Kato <[email protected]>
- Loading branch information
Showing
75 changed files
with
2,659 additions
and
2,410 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 |
---|---|---|
|
@@ -121,11 +121,10 @@ misc/certs/ca-certificates.crt: | |
docker run "amazon/amazon-ecs-agent-cert-source:make" cat /etc/ssl/certs/ca-certificates.crt > misc/certs/ca-certificates.crt | ||
|
||
gogenerate: | ||
go generate -x ./agent/... | ||
$(MAKE) goimports | ||
|
||
gogenerate-init: | ||
PATH=$(PATH):$(shell pwd)/scripts go generate -x ./ecs-init/... | ||
PATH=$(PATH):$(shell pwd)/scripts go generate -x ./agent/... ./ecs-init/... | ||
$(MAKE) goimports | ||
|
||
# 'go' may not be on the $PATH for sudo tests | ||
|
@@ -349,20 +348,18 @@ install-golang: | |
./scripts/install-golang.sh | ||
|
||
.get-deps-stamp: | ||
go get github.com/golang/mock/mockgen | ||
cd "${GOPATH}/src/github.com/golang/mock/mockgen" && git checkout 1.3.1 && go get ./... && go install ./... && cd - | ||
go get golang.org/x/tools/cmd/goimports | ||
go install github.com/golang/mock/[email protected] | ||
go install golang.org/x/tools/cmd/[email protected] | ||
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 get github.com/golang/mock/mockgen | ||
cd "${GOPATH}/src/github.com/golang/mock/mockgen" && git checkout 1.3.1 && go get ./... && go install ./... && cd - | ||
go install github.com/golang/mock/mockgen@v1.6.0 | ||
go install golang.org/x/tools/cmd/[email protected] | ||
GO111MODULE=on go install github.com/fzipp/gocyclo/cmd/[email protected] | ||
go get golang.org/x/tools/cmd/goimports | ||
GO111MODULE=on go install honnef.co/go/tools/cmd/[email protected] | ||
|
||
amazon-linux-sources.tgz: | ||
|
Large diffs are not rendered by default.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.