github.com/abayer/test-infra@v0.0.5/velodrome/sql/BUILD.bazel (about)

     1  package(default_visibility = ["//visibility:public"])
     2  
     3  load(
     4      "@io_bazel_rules_go//go:def.bzl",
     5      "go_library",
     6      "go_test",
     7  )
     8  
     9  go_test(
    10      name = "go_default_test",
    11      srcs = [
    12          "model_test.go",
    13          "mysql_test.go",
    14      ],
    15      embed = [":go_default_library"],
    16  )
    17  
    18  go_library(
    19      name = "go_default_library",
    20      srcs = [
    21          "model.go",
    22          "mysql.go",
    23      ],
    24      importpath = "k8s.io/test-infra/velodrome/sql",
    25      deps = [
    26          "//vendor/github.com/jinzhu/gorm:go_default_library",
    27          "//vendor/github.com/spf13/cobra:go_default_library",
    28      ],
    29  )
    30  
    31  filegroup(
    32      name = "configs",
    33      srcs = [],
    34  )
    35  
    36  filegroup(
    37      name = "package-srcs",
    38      srcs = glob(["**"]),
    39      tags = ["automanaged"],
    40      visibility = ["//visibility:private"],
    41  )
    42  
    43  filegroup(
    44      name = "all-srcs",
    45      srcs = [
    46          ":package-srcs",
    47          "//velodrome/sql/testing:all-srcs",
    48      ],
    49      tags = ["automanaged"],
    50  )