diff options
| author | Joseph Richey <joerichey@google.com> | 2019-10-25 17:26:49 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-10-25 17:26:49 -0700 |
| commit | a3434e41bd482fc1b35703f66c24c9d1ec3b0be2 (patch) | |
| tree | 2e41a405c47328760c2787feb75065fa2d354540 /tools.go | |
| parent | b24e4ccd245861f7537f17c3e01be2cbefb1b29e (diff) | |
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.
Diffstat (limited to 'tools.go')
| -rw-r--r-- | tools.go | 13 |
1 files changed, 13 insertions, 0 deletions
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" +) |