aboutsummaryrefslogtreecommitdiff
path: root/tools.go
diff options
context:
space:
mode:
authorgreatroar <61184462+greatroar@users.noreply.github.com>2021-05-08 12:52:06 +0200
committerGitHub <noreply@github.com>2021-05-08 12:52:06 +0200
commit3746c899b77ffa3f81704b483836c443b402edc2 (patch)
tree60616da8e1450c143106f655be0d5c538f8c6b7a /tools.go
parent7bbca12ff84ca0e2775b39c96af4ac5a3bac95e3 (diff)
downloadsyncthing-3746c899b77ffa3f81704b483836c443b402edc2.tar.gz
syncthing-3746c899b77ffa3f81704b483836c443b402edc2.zip
build: List go:generate tools in tools.go (#7599)
Diffstat (limited to 'tools.go')
-rw-r--r--tools.go14
1 files changed, 14 insertions, 0 deletions
diff --git a/tools.go b/tools.go
new file mode 100644
index 000000000..345c4c55b
--- /dev/null
+++ b/tools.go
@@ -0,0 +1,14 @@
+// This file is never built. It serves to establish dependencies on tools
+// used by go generate and build.go. See
+// https://github.com/golang/go/wiki/Modules#how-can-i-track-tool-dependencies-for-a-module
+
+// +build tools
+
+package tools
+
+import (
+ _ "github.com/calmh/xdr"
+ _ "github.com/gogo/protobuf/protoc-gen-gogofast"
+ _ "github.com/maxbrunsfeld/counterfeiter/v6"
+ _ "golang.org/x/tools/cmd/goimports"
+)