From a3434e41bd482fc1b35703f66c24c9d1ec3b0be2 Mon Sep 17 00:00:00 2001 From: Joseph Richey Date: Fri, 25 Oct 2019 17:26:49 -0700 Subject: Manage tool versioning with Go modules (#161) See: https://github.com/golang/go/wiki/Modules#how-can-i-track-tool-dependencies-for-a-module The tool code is never actually built, but the versions are still lock in `go.mod` and `go.sum`. We can also simplify the Makefile. --- tools.go | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 tools.go (limited to 'tools.go') diff --git a/tools.go b/tools.go new file mode 100644 index 0000000..d34637e --- /dev/null +++ b/tools.go @@ -0,0 +1,13 @@ +// +build tools +// Never compiled, just used to manage tool dependencies + +package tools + +import ( + _ "github.com/client9/misspell/cmd/misspell" + _ "github.com/golang/protobuf/protoc-gen-go" + _ "github.com/wadey/gocovmerge" + _ "golang.org/x/lint/golint" + _ "golang.org/x/tools/cmd/goimports" + _ "honnef.co/go/tools/cmd/staticcheck" +) -- cgit v1.2.3