81b702b918
Remove gox in favor of go build. `gox` hasn't had a release to update it in many years, so is missing support for many modern systems, like `darwin/arm64`. In any case, we only use it for dev builds, where we don't even use the ability of it to build for multiple platforms. Release builds use `go build` now. So, this switches to `go build` everywhere. I pulled this down and tested it in Windows as well. (Side note: I couldn't get `gox` to work in Windows, so couldn't build before this change.)
32 lines
1,022 B
Go
32 lines
1,022 B
Go
//go:build tools
|
|
|
|
// 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
|
|
//go:generate go install mvdan.cc/gofumpt
|
|
//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
|
|
import (
|
|
_ "golang.org/x/tools/cmd/goimports"
|
|
|
|
_ "github.com/client9/misspell/cmd/misspell"
|
|
|
|
_ "mvdan.cc/gofumpt"
|
|
|
|
_ "google.golang.org/protobuf/cmd/protoc-gen-go"
|
|
|
|
_ "google.golang.org/grpc/cmd/protoc-gen-go-grpc"
|
|
|
|
_ "github.com/favadi/protoc-go-inject-tag"
|
|
)
|