"Fossies" - the Fresh Open Source Software Archive

Member "kubernetes-1.17.12/cmd/gendocs/BUILD" (16 Sep 2020, 802 Bytes) of package /linux/misc/kubernetes-1.17.12.tar.gz:


As a special service "Fossies" has tried to format the requested text file into HTML format (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

    1 package(default_visibility = ["//visibility:public"])
    2 
    3 load(
    4     "//build:go.bzl",
    5     go_binary = "go_binary_conditional_pure",
    6 )
    7 load("@io_bazel_rules_go//go:def.bzl", "go_library")
    8 
    9 go_binary(
   10     name = "gendocs",
   11     embed = [":go_default_library"],
   12 )
   13 
   14 go_library(
   15     name = "go_default_library",
   16     srcs = ["gen_kubectl_docs.go"],
   17     importpath = "k8s.io/kubernetes/cmd/gendocs",
   18     deps = [
   19         "//cmd/genutils:go_default_library",
   20         "//pkg/kubectl/cmd:go_default_library",
   21         "//vendor/github.com/spf13/cobra/doc:go_default_library",
   22     ],
   23 )
   24 
   25 filegroup(
   26     name = "package-srcs",
   27     srcs = glob(["**"]),
   28     tags = ["automanaged"],
   29     visibility = ["//visibility:private"],
   30 )
   31 
   32 filegroup(
   33     name = "all-srcs",
   34     srcs = [":package-srcs"],
   35     tags = ["automanaged"],
   36 )