2023-03-15 16:00:52 +00:00
|
|
|
// Copyright (c) HashiCorp, Inc.
|
|
|
|
// SPDX-License-Identifier: MPL-2.0
|
|
|
|
|
2022-01-05 18:02:03 +00:00
|
|
|
//go:build tools
|
2020-05-14 17:45:12 +00:00
|
|
|
|
|
|
|
// This file ensures tool dependencies are kept in sync. This is the
|
|
|
|
// recommended way of doing this according to
|
|
|
|
// https://github.com/golang/go/wiki/Modules#how-can-i-track-tool-dependencies-for-a-module
|
|
|
|
// To install the following tools at the version used by this repo run:
|
|
|
|
// $ make bootstrap
|
|
|
|
// or
|
|
|
|
// $ go generate -tags tools tools/tools.go
|
|
|
|
|
|
|
|
package tools
|
|
|
|
|
|
|
|
//go:generate go install golang.org/x/tools/cmd/goimports
|
|
|
|
//go:generate go install github.com/client9/misspell/cmd/misspell
|
2021-04-08 16:43:39 +00:00
|
|
|
//go:generate go install mvdan.cc/gofumpt
|
2021-09-30 01:25:15 +00:00
|
|
|
//go:generate go install google.golang.org/protobuf/cmd/protoc-gen-go
|
|
|
|
//go:generate go install google.golang.org/grpc/cmd/protoc-gen-go-grpc
|
|
|
|
//go:generate go install github.com/favadi/protoc-go-inject-tag
|
2023-03-28 05:50:58 +00:00
|
|
|
//go:generate go install honnef.co/go/tools/cmd/staticcheck
|
2023-02-07 09:41:04 +00:00
|
|
|
//go:generate go install github.com/golangci/revgrep/cmd/revgrep
|
2023-03-06 21:57:55 +00:00
|
|
|
//go:generate go install gotest.tools/gotestsum
|
2021-04-08 16:43:39 +00:00
|
|
|
import (
|
|
|
|
_ "golang.org/x/tools/cmd/goimports"
|
|
|
|
|
|
|
|
_ "github.com/client9/misspell/cmd/misspell"
|
|
|
|
|
|
|
|
_ "mvdan.cc/gofumpt"
|
2021-10-14 01:12:40 +00:00
|
|
|
|
2021-09-30 01:25:15 +00:00
|
|
|
_ "google.golang.org/protobuf/cmd/protoc-gen-go"
|
|
|
|
|
|
|
|
_ "google.golang.org/grpc/cmd/protoc-gen-go-grpc"
|
|
|
|
|
|
|
|
_ "github.com/favadi/protoc-go-inject-tag"
|
2023-02-07 09:41:04 +00:00
|
|
|
|
|
|
|
_ "github.com/golangci/revgrep/cmd/revgrep"
|
2023-03-06 21:57:55 +00:00
|
|
|
|
|
|
|
_ "gotest.tools/gotestsum"
|
2023-03-28 05:50:58 +00:00
|
|
|
|
|
|
|
_ "honnef.co/go/tools/cmd/staticcheck"
|
2021-09-30 01:25:15 +00:00
|
|
|
)
|