Gocompat tests no longer needed with go modules

These tests don't account well for submodules and are not needed when
importers are using go modules. The tests are still relevant in the 28
branch which does not use go modules.

Signed-off-by: Derek McGowan <derek@mcg.dev>
This commit is contained in:
Derek McGowan
2025-06-28 00:02:10 -07:00
parent fb99e3375d
commit eab076f217
5 changed files with 0 additions and 225 deletions

View File

@@ -1,10 +0,0 @@
#!/usr/bin/env sh
set -e
# This script verifies that all packages have the correct //go:build directives set.
# This is necessary because when our code is consumed as a dependency in "module mode",
# Go will implicitly generate a go.mod and assume "go1.16" language version if one
# doesn't exist. Starting with Go 1.21, this causes compilation errors for any code
# using features from newer Go versions.
make -C ./internal/gocompat