move linting dependencies to hack/tools/tools.go

Signed-off-by: Davanum Srinivas <davanum@gmail.com>
This commit is contained in:
Davanum Srinivas
2020-04-18 12:41:34 -04:00
parent 12146cb4df
commit f981628ce8
281 changed files with 75 additions and 78297 deletions

View File

@@ -29,8 +29,10 @@ source "${KUBE_ROOT}/hack/lib/init.sh"
export GOBIN="${KUBE_OUTPUT_BINPATH}"
PATH="${GOBIN}:${PATH}"
# Install tools we need, but only from vendor/...
go install k8s.io/kubernetes/vendor/github.com/client9/misspell/cmd/misspell
# Install tools we need
pushd "${KUBE_ROOT}/hack/tools" >/dev/null
GO111MODULE=on go install github.com/client9/misspell/cmd/misspell
popd >/dev/null
# Spell checking
# All the skipping files are defined in hack/.spelling_failures