From c7e1dc9b5302d649d5531e19168dd7ea0013736d Mon Sep 17 00:00:00 2001 From: Tom Wieczorek Date: Mon, 18 Mar 2024 10:51:56 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=8C=B1=20Remove=20the=20empty=20go.mod/su?= =?UTF-8?q?m=20files=20from=20hack/tools?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit All the tool binaries are managed via go install nowadays, so no need to keep the module files around. Add a .keep file to keep the now empty tools directory. It will still be used by the build to store the tool binaries. Even though it would be created automatically, having it as part of the git tree makes it more obvious that it's still being used by the build. See: 98472437 ("Use go-install for versioned dependencies") Signed-off-by: Tom Wieczorek --- hack/tools/{go.sum => .keep} | 0 hack/tools/go.mod | 5 ----- 2 files changed, 5 deletions(-) rename hack/tools/{go.sum => .keep} (100%) delete mode 100644 hack/tools/go.mod diff --git a/hack/tools/go.sum b/hack/tools/.keep similarity index 100% rename from hack/tools/go.sum rename to hack/tools/.keep diff --git a/hack/tools/go.mod b/hack/tools/go.mod deleted file mode 100644 index 20ca4ae452..0000000000 --- a/hack/tools/go.mod +++ /dev/null @@ -1,5 +0,0 @@ -module sigs.k8s.io/controller-runtime/hack/tools - -go 1.21 - -toolchain go1.21.5