go-common/app/admin/ep/marthe/dao/BUILD

88 lines
2.7 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_test",
)
go_library(
name = "go_default_library",
srcs = [
"bugly.go",
"dao.go",
"mail.go",
"mysql_bugly_batch_run.go",
"mysql_bugly_cookie.go",
"mysql_bugly_issue.go",
"mysql_bugly_project.go",
"mysql_bugly_version.go",
"mysql_contact_info.go",
"mysql_schedule_task.go",
"mysql_tapd_bug_priority_conf.go",
"mysql_tapd_bug_record.go",
"mysql_tapd_bug_template.go",
"mysql_tapd_bug_version_template.go",
"mysql_user.go",
"tapd.go",
"wechat.go",
],
importpath = "go-common/app/admin/ep/marthe/dao",
tags = ["automanaged"],
visibility = ["//visibility:public"],
deps = [
"//app/admin/ep/marthe/conf:go_default_library",
"//app/admin/ep/marthe/model:go_default_library",
"//library/cache/memcache:go_default_library",
"//library/database/orm:go_default_library",
"//library/ecode:go_default_library",
"//library/log:go_default_library",
"//library/net/http/blademaster:go_default_library",
"//library/sync/pipeline/fanout:go_default_library",
"//vendor/github.com/jinzhu/gorm:go_default_library",
"//vendor/github.com/pkg/errors:go_default_library",
"//vendor/gopkg.in/gomail.v2: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"],
)
go_test(
name = "go_default_test",
srcs = [
"dao_test.go",
"mysql_bugly_batch_run_test.go",
"mysql_bugly_cookie_test.go",
"mysql_bugly_issue_test.go",
"mysql_bugly_version_test.go",
"mysql_schedule_task_test.go",
"mysql_tapd_bug_priority_confg_test.go",
"mysql_tapd_bug_record_test.go",
"mysql_tapd_bug_template_test.go",
"mysql_tapd_bug_version_template_test.go",
"mysql_user_test.go",
],
embed = [":go_default_library"],
tags = ["automanaged"],
deps = [
"//app/admin/ep/marthe/conf:go_default_library",
"//app/admin/ep/marthe/model:go_default_library",
"//vendor/github.com/go-sql-driver/mysql:go_default_library",
"//vendor/github.com/satori/go.uuid:go_default_library",
"//vendor/github.com/smartystreets/goconvey/convey:go_default_library",
"//vendor/gopkg.in/h2non/gock.v1:go_default_library",
],
)