12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576 |
- package(default_visibility = ["//visibility:public"])
- load(
- "@io_bazel_rules_go//go:def.bzl",
- "go_test",
- "go_library",
- )
- go_test(
- name = "go_default_test",
- srcs = [
- "ecode_test.go",
- "status_test.go",
- ],
- embed = [":go_default_library"],
- rundir = ".",
- tags = ["manual"],
- deps = [
- "//library/ecode/internal/types:go_default_library",
- "//vendor/github.com/smartystreets/goconvey/convey:go_default_library",
- "//vendor/github.com/stretchr/testify/assert:go_default_library",
- "@io_bazel_rules_go//proto/wkt:timestamp_go_proto",
- ],
- )
- go_library(
- name = "go_default_library",
- srcs = [
- "bbq_ecode.go",
- "common_ecode.go",
- "ecode.go",
- "ep_ecode.go",
- "live_ecode.go",
- "main_ecode.go",
- "open_ecode.go",
- "status.go",
- ],
- importpath = "go-common/library/ecode",
- tags = ["automanaged"],
- visibility = ["//visibility:public"],
- deps = [
- "//library/ecode/internal/types:go_default_library",
- "//vendor/github.com/pkg/errors:go_default_library",
- "@com_github_golang_protobuf//proto:go_default_library",
- "@com_github_golang_protobuf//ptypes:go_default_library_gen",
- ],
- )
- go_test(
- name = "go_default_xtest",
- srcs = ["example_test.go"],
- tags = ["automanaged"],
- deps = [
- "//library/ecode:go_default_library",
- "//vendor/github.com/pkg/errors:go_default_library",
- ],
- )
- filegroup(
- name = "package-srcs",
- srcs = glob(["**"]),
- tags = ["automanaged"],
- visibility = ["//visibility:private"],
- )
- filegroup(
- name = "all-srcs",
- srcs = [
- ":package-srcs",
- "//library/ecode/internal/types:all-srcs",
- "//library/ecode/pb:all-srcs",
- "//library/ecode/tip:all-srcs",
- ],
- tags = ["automanaged"],
- visibility = ["//visibility:public"],
- )
|