39 lines
798 B
Python
39 lines
798 B
Python
package(default_visibility = ["//visibility:public"])
|
|
|
|
load(
|
|
"@io_bazel_rules_go//go:def.bzl",
|
|
"go_library",
|
|
)
|
|
|
|
go_library(
|
|
name = "go_default_library",
|
|
srcs = [
|
|
"app.go",
|
|
"build.go",
|
|
"client.go",
|
|
"common_config.go",
|
|
"config.go",
|
|
"force.go",
|
|
"rpc.go",
|
|
"tag.go",
|
|
],
|
|
importpath = "go-common/app/infra/config/model",
|
|
tags = ["automanaged"],
|
|
visibility = ["//visibility:public"],
|
|
deps = ["//library/time:go_default_library"],
|
|
)
|
|
|
|
filegroup(
|
|
name = "package-srcs",
|
|
srcs = glob(["**"]),
|
|
tags = ["automanaged"],
|
|
visibility = ["//visibility:private"],
|
|
)
|
|
|
|
filegroup(
|
|
name = "all-srcs",
|
|
srcs = [":package-srcs"],
|
|
tags = ["automanaged"],
|
|
visibility = ["//visibility:public"],
|
|
)
|