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:
@@ -28,12 +28,12 @@ source "${KUBE_ROOT}/hack/lib/init.sh"
|
||||
kube::golang::setup_env
|
||||
|
||||
BINS=(
|
||||
cmd/gendocs
|
||||
cmd/genkubedocs
|
||||
cmd/genman
|
||||
cmd/genyaml
|
||||
./cmd/gendocs
|
||||
./cmd/genkubedocs
|
||||
./cmd/genman
|
||||
./cmd/genyaml
|
||||
)
|
||||
make -C "${KUBE_ROOT}" WHAT="${BINS[*]}"
|
||||
GOPROXY=off go install "${BINS[@]}"
|
||||
|
||||
kube::util::ensure-temp-dir
|
||||
|
||||
|
||||
Reference in New Issue
Block a user