From 5a1e099fb5a2ebd70e46664063f115067d977a3b Mon Sep 17 00:00:00 2001 From: Jordan Liggitt Date: Fri, 22 Mar 2019 17:55:40 -0400 Subject: [PATCH] Add staging tools.go imports Kubernetes-commit: 579c0560a280eae60d245cb3a30b8680270590d9 --- hack/tools.go | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 hack/tools.go diff --git a/hack/tools.go b/hack/tools.go new file mode 100644 index 00000000..af1f099d --- /dev/null +++ b/hack/tools.go @@ -0,0 +1,22 @@ +// +build tools + +/* +Copyright 2019 The Kubernetes Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// This package imports things required by build scripts, to force `go mod` to see them as dependencies +package tools + +import _ "k8s.io/code-generator"