go-common/app/job/main/up-rating/service/BUILD

50 lines
1.2 KiB
Python
Raw Normal View History

2019-04-22 10:49:16 +00:00
package(default_visibility = ["//visibility:public"])
load(
"@io_bazel_rules_go//go:def.bzl",
"go_library",
)
go_library(
name = "go_default_library",
srcs = [
"base.go",
"paramter.go",
"past.go",
"rating.go",
"run.go",
"score.go",
"service.go",
"statistics.go",
"task_status.go",
"top.go",
"trend.go",
"trend_heap.go",
],
importpath = "go-common/app/job/main/up-rating/service",
tags = ["automanaged"],
visibility = ["//visibility:public"],
deps = [
"//app/job/main/up-rating/conf:go_default_library",
"//app/job/main/up-rating/dao:go_default_library",
"//app/job/main/up-rating/model:go_default_library",
"//library/log:go_default_library",
"//library/time:go_default_library",
"//vendor/golang.org/x/sync/errgroup: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"],
)