BUILD 815 B

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. package(default_visibility = ["//visibility:public"])
  2. load(
  3. "@io_bazel_rules_go//go:def.bzl",
  4. "go_test",
  5. "go_library",
  6. )
  7. go_test(
  8. name = "go_default_test",
  9. srcs = ["expr_test.go"],
  10. embed = [":go_default_library"],
  11. tags = ["automanaged"],
  12. )
  13. go_library(
  14. name = "go_default_library",
  15. srcs = [
  16. "ast.go",
  17. "check.go",
  18. "eval.go",
  19. "expr.go",
  20. ],
  21. importpath = "go-common/app/service/live/zeus/expr",
  22. tags = ["automanaged"],
  23. visibility = ["//visibility:public"],
  24. )
  25. filegroup(
  26. name = "package-srcs",
  27. srcs = glob(["**"]),
  28. tags = ["automanaged"],
  29. visibility = ["//visibility:private"],
  30. )
  31. filegroup(
  32. name = "all-srcs",
  33. srcs = [":package-srcs"],
  34. tags = ["automanaged"],
  35. visibility = ["//visibility:public"],
  36. )