mirror of
https://github.com/optim-enterprises-bv/vault.git
synced 2025-10-29 17:52:32 +00:00
Remove gox in favor of go build. (#16353)
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.)
This commit is contained in:
committed by
GitHub
parent
7cd134614f
commit
fa91af91e7
@@ -11,7 +11,6 @@
|
||||
package tools
|
||||
|
||||
//go:generate go install golang.org/x/tools/cmd/goimports
|
||||
//go:generate go install github.com/mitchellh/gox
|
||||
//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
|
||||
@@ -20,8 +19,6 @@ package tools
|
||||
import (
|
||||
_ "golang.org/x/tools/cmd/goimports"
|
||||
|
||||
_ "github.com/mitchellh/gox"
|
||||
|
||||
_ "github.com/client9/misspell/cmd/misspell"
|
||||
|
||||
_ "mvdan.cc/gofumpt"
|
||||
|
||||
Reference in New Issue
Block a user