BUILD.bazel 586 B

1234567891011121314151617181920212223242526
  1. load("@io_bazel_rules_go//go:def.bzl", "go_library")
  2. go_library(
  3. name = "go_default_library",
  4. srcs = [
  5. "conf.go",
  6. "doc.go",
  7. ],
  8. importmap = "go-common/vendor/github.com/Terry-Mao/goconf",
  9. importpath = "github.com/Terry-Mao/goconf",
  10. visibility = ["//visibility:public"],
  11. )
  12. filegroup(
  13. name = "package-srcs",
  14. srcs = glob(["**"]),
  15. tags = ["automanaged"],
  16. visibility = ["//visibility:private"],
  17. )
  18. filegroup(
  19. name = "all-srcs",
  20. srcs = [":package-srcs"],
  21. tags = ["automanaged"],
  22. visibility = ["//visibility:public"],
  23. )