99 lines
2.6 KiB
Python
99 lines
2.6 KiB
Python
package(default_visibility = ["//visibility:public"])
|
|
|
|
load(
|
|
"@io_bazel_rules_go//go:def.bzl",
|
|
"go_test",
|
|
"go_library",
|
|
)
|
|
|
|
go_test(
|
|
name = "go_default_test",
|
|
srcs = [
|
|
"archive_test.go",
|
|
"av_charge_statis_test.go",
|
|
"av_charge_test.go",
|
|
"av_income_stat_test.go",
|
|
"av_income_test.go",
|
|
"bgm_income_stat_test.go",
|
|
"bgm_income_test.go",
|
|
"bgm_test.go",
|
|
"blacklist_test.go",
|
|
"business_order_test.go",
|
|
"charge_ratio_test.go",
|
|
"column_charge_test.go",
|
|
"column_income_stat_test.go",
|
|
"column_income_test.go",
|
|
"dao_test.go",
|
|
"income_date_statis_test.go",
|
|
"lottery_test.go",
|
|
"up_account_test.go",
|
|
"up_charge_test.go",
|
|
"up_income_date_test.go",
|
|
"up_income_stat_test.go",
|
|
"up_income_test.go",
|
|
"up_info_video_test.go",
|
|
],
|
|
embed = [":go_default_library"],
|
|
rundir = ".",
|
|
tags = ["automanaged"],
|
|
deps = [
|
|
"//app/job/main/growup/conf:go_default_library",
|
|
"//app/job/main/growup/model/income:go_default_library",
|
|
"//library/time:go_default_library",
|
|
"//vendor/github.com/smartystreets/goconvey/convey:go_default_library",
|
|
],
|
|
)
|
|
|
|
go_library(
|
|
name = "go_default_library",
|
|
srcs = [
|
|
"archive.go",
|
|
"av_charge.go",
|
|
"av_charge_statis.go",
|
|
"av_income.go",
|
|
"av_income_stat.go",
|
|
"bgm.go",
|
|
"bgm_income.go",
|
|
"bgm_income_stat.go",
|
|
"blacklist.go",
|
|
"business_order.go",
|
|
"charge_ratio.go",
|
|
"column_charge.go",
|
|
"column_income.go",
|
|
"column_income_stat.go",
|
|
"dao.go",
|
|
"income_date_statis.go",
|
|
"lottery.go",
|
|
"up_account.go",
|
|
"up_charge.go",
|
|
"up_income.go",
|
|
"up_income_date.go",
|
|
"up_income_stat.go",
|
|
"up_info_video.go",
|
|
],
|
|
importpath = "go-common/app/job/main/growup/dao/income",
|
|
tags = ["automanaged"],
|
|
visibility = ["//visibility:public"],
|
|
deps = [
|
|
"//app/job/main/growup/conf:go_default_library",
|
|
"//app/job/main/growup/model/income:go_default_library",
|
|
"//library/database/sql:go_default_library",
|
|
"//library/log:go_default_library",
|
|
"//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"],
|
|
)
|