BUILD.bazel 776 B

123456789101112131415161718192021222324252627282930313233
  1. load("@io_bazel_rules_go//go:def.bzl", "go_library")
  2. go_library(
  3. name = "go_default_library",
  4. srcs = [
  5. "auth.go",
  6. "doc.go",
  7. "message.go",
  8. "mime.go",
  9. "mime_go14.go",
  10. "send.go",
  11. "smtp.go",
  12. "writeto.go",
  13. ],
  14. importmap = "go-common/vendor/gopkg.in/gomail.v2",
  15. importpath = "gopkg.in/gomail.v2",
  16. visibility = ["//visibility:public"],
  17. deps = ["//vendor/gopkg.in/alexcesaro/quotedprintable.v3:go_default_library"],
  18. )
  19. filegroup(
  20. name = "package-srcs",
  21. srcs = glob(["**"]),
  22. tags = ["automanaged"],
  23. visibility = ["//visibility:private"],
  24. )
  25. filegroup(
  26. name = "all-srcs",
  27. srcs = [":package-srcs"],
  28. tags = ["automanaged"],
  29. visibility = ["//visibility:public"],
  30. )