Skip to content

Conversation

@adombeck
Copy link
Contributor

@adombeck adombeck commented Oct 8, 2025

Use the new tool directive in go.mod available in Go 1.24 to track executable dependencies instead of the tools.go workaround.

@adombeck adombeck force-pushed the use-tool-directive branch 9 times, most recently from 55e4aac to 603cb61 Compare October 8, 2025 20:48
@adombeck adombeck force-pushed the use-tool-directive branch 5 times, most recently from 40fac7c to 08d778c Compare November 6, 2025 13:53
Using the tool directive for the protoc dependency (protoc-gen-go and
protoc-gen-go-grpc) requires a little hack: protoc looks for it in PATH,
so we use `go tool -n` to get the path of the tool and add the directory
which contains it to PATH before executing protoc.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants