BUILD.bazel 711 B

1234567891011121314151617181920212223242526272829
  1. load("@io_bazel_rules_go//go:def.bzl", "go_library")
  2. go_library(
  3. name = "go_default_library",
  4. srcs = [
  5. "csv.go",
  6. "table.go",
  7. "util.go",
  8. "wrap.go",
  9. ],
  10. importmap = "go-common/vendor/github.com/olekukonko/tablewriter",
  11. importpath = "github.com/olekukonko/tablewriter",
  12. visibility = ["//visibility:public"],
  13. deps = ["//vendor/github.com/mattn/go-runewidth:go_default_library"],
  14. )
  15. filegroup(
  16. name = "package-srcs",
  17. srcs = glob(["**"]),
  18. tags = ["automanaged"],
  19. visibility = ["//visibility:private"],
  20. )
  21. filegroup(
  22. name = "all-srcs",
  23. srcs = [":package-srcs"],
  24. tags = ["automanaged"],
  25. visibility = ["//visibility:public"],
  26. )