Files
opentf/tools/protobuf-compile
Martin Atkins e06e12f98a go.mod: List our own tools in the "tools" directive
We previously adopted the new "tools" mechanism for the third-party tools
we use for go:generate, etc. However, it's also acceptable to include tools
from our own module in this list, which then makes it possible to run them
using the same "go tool" shorthand.

For example, it's now possible to run "go tool protobuf-compile" to rebuild
the protocol buffers schemas, or "go tool tofu" as a shorthand way to
compile and run OpenTofu CLI itself.

It still remains possible to run these tools in the same ways they used to
work. This is just a new way to get the same results through a more modern
Go toolchain feature.

Signed-off-by: Martin Atkins <mart@degeneration.co.uk>
2026-01-08 12:51:43 -08:00
..