Make hack scripts use go install and assume PATH

Now that they all call setup_env, we don't need find-binary (I think).
That was originally meant to hide the diff between docker and local
builds but all these tools do local builds anyway.
This commit is contained in:
Tim Hockin
2024-01-12 16:23:23 -08:00
parent ea3696dbcf
commit 8288c06b2b
10 changed files with 49 additions and 102 deletions

View File

@@ -27,7 +27,7 @@ source "${KUBE_ROOT}/hack/lib/init.sh"
kube::golang::setup_env
hack/make-rules/build.sh ./cmd/clicheck
GOPROXY=off go install ./cmd/clicheck
if ! output=$(clicheck 2>&1)
then