update bazel

pull/564/head
juanvallejo 2019-01-21 14:08:53 -05:00
parent dbf9aa5009
commit 7f0303faf2
No known key found for this signature in database
GPG Key ID: 7D2C958002D6448D
2 changed files with 25 additions and 1 deletions

View File

@ -1,4 +1,4 @@
load("@io_bazel_rules_go//go:def.bzl", "go_library")
load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test")
go_library(
name = "go_default_library",
@ -33,3 +33,11 @@ filegroup(
data = glob(["testdata/**"]),
visibility = ["//visibility:public"],
)
go_test(
name = "go_default_test",
srcs = ["plugin_test.go"],
data = glob(["testdata/**"]),
embed = [":go_default_library"],
deps = ["//staging/src/k8s.io/cli-runtime/pkg/genericclioptions:go_default_library"],
)

View File

@ -1,3 +1,19 @@
/*
Copyright 2017 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.
*/
package plugin
import (