Closed mythri-garaga closed 3 years ago
This PR includes changes to use Go Modules to manage tool dependencies and updates Makefile targets accordingly.
./ecs-init/tools.go
get-deps
./ecs-init/Makefile
./Makefile
coverprofile.out
scripts/analyze-cover-profile
scripts/dockerfiles/test.dockerfile
scripts/test
vendor
go mod vendor
Locally tested all the Makefile targets.
New tests cover the changes:
This contribution is under the terms of the Apache 2.0 License:
Summary
This PR includes changes to use Go Modules to manage tool dependencies and updates Makefile targets accordingly.
Implementation details
./ecs-init/tools.go
to list all the tool dependencies using an import statement.get-deps
to install tool dependencies from./ecs-init/tools.go
./ecs-init/Makefile
with the following targets and updated./Makefile
accordinglycoverprofile.out
inscripts/analyze-cover-profile
scripts/dockerfiles/test.dockerfile
as Go Modules available after Go version 1.1scripts/test
vendor
directory after runninggo mod vendor
Testing
Locally tested all the Makefile targets.
New tests cover the changes:
Description for the changelog
Licensing
This contribution is under the terms of the Apache 2.0 License: