BUILD.bazel 872 B

123456789101112131415161718192021222324252627282930313233
  1. load("@io_bazel_rules_go//go:def.bzl", "go_library")
  2. go_library(
  3. name = "go_default_library",
  4. srcs = [
  5. "badger_store.go",
  6. "bolt_store.go",
  7. "ldb_store.go",
  8. "store.go",
  9. ],
  10. importmap = "go-common/vendor/github.com/go-ego/riot/store",
  11. importpath = "github.com/go-ego/riot/store",
  12. visibility = ["//visibility:public"],
  13. deps = [
  14. "//vendor/github.com/coreos/bbolt:go_default_library",
  15. "//vendor/github.com/dgraph-io/badger:go_default_library",
  16. "//vendor/github.com/syndtr/goleveldb/leveldb:go_default_library",
  17. ],
  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. )