BUILD.bazel 1007 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. load("@io_bazel_rules_go//go:def.bzl", "go_library")
  2. go_library(
  3. name = "go_default_library",
  4. srcs = [
  5. "correlation.go",
  6. "data.go",
  7. "data_set_distances.go",
  8. "deviation.go",
  9. "errors.go",
  10. "legacy.go",
  11. "load.go",
  12. "max.go",
  13. "mean.go",
  14. "median.go",
  15. "min.go",
  16. "mode.go",
  17. "outlier.go",
  18. "percentile.go",
  19. "quartile.go",
  20. "regression.go",
  21. "round.go",
  22. "sample.go",
  23. "sum.go",
  24. "util.go",
  25. "variance.go",
  26. ],
  27. importmap = "go-common/vendor/github.com/montanaflynn/stats",
  28. importpath = "github.com/montanaflynn/stats",
  29. visibility = ["//visibility:public"],
  30. )
  31. filegroup(
  32. name = "package-srcs",
  33. srcs = glob(["**"]),
  34. tags = ["automanaged"],
  35. visibility = ["//visibility:private"],
  36. )
  37. filegroup(
  38. name = "all-srcs",
  39. srcs = [":package-srcs"],
  40. tags = ["automanaged"],
  41. visibility = ["//visibility:public"],
  42. )