BUILD.bazel 742 B

123456789101112131415161718192021222324252627282930
  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. "go-toml.go",
  7. ],
  8. importmap = "go-common/vendor/github.com/go-vgo/gt/conf",
  9. importpath = "github.com/go-vgo/gt/conf",
  10. visibility = ["//visibility:public"],
  11. deps = [
  12. "//vendor/github.com/fsnotify/fsnotify:go_default_library",
  13. "//vendor/github.com/pelletier/go-toml:go_default_library",
  14. ],
  15. )
  16. filegroup(
  17. name = "package-srcs",
  18. srcs = glob(["**"]),
  19. tags = ["automanaged"],
  20. visibility = ["//visibility:private"],
  21. )
  22. filegroup(
  23. name = "all-srcs",
  24. srcs = [":package-srcs"],
  25. tags = ["automanaged"],
  26. visibility = ["//visibility:public"],
  27. )