BUILD 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. package(default_visibility = ["//visibility:public"])
  2. load(
  3. "@io_bazel_rules_go//go:def.bzl",
  4. "go_library",
  5. )
  6. go_library(
  7. name = "go_default_library",
  8. srcs = [
  9. "confirm.go",
  10. "editor.go",
  11. "input.go",
  12. "multiline.go",
  13. "multiselect.go",
  14. "password.go",
  15. "select.go",
  16. "survey.go",
  17. "transform.go",
  18. "validate.go",
  19. ],
  20. data = ["Gopkg.toml"],
  21. importpath = "github.com/AlecAivazis/survey",
  22. tags = ["automanaged"],
  23. visibility = ["//visibility:public"],
  24. deps = [
  25. "//vendor/github.com/kballard/go-shellquote:go_default_library",
  26. "//vendor/gopkg.in/AlecAivazis/survey.v1/core:go_default_library",
  27. "//vendor/gopkg.in/AlecAivazis/survey.v1/terminal:go_default_library",
  28. ],
  29. )
  30. filegroup(
  31. name = "package-srcs",
  32. srcs = glob(["**"]),
  33. tags = ["automanaged"],
  34. visibility = ["//visibility:private"],
  35. )
  36. filegroup(
  37. name = "all-srcs",
  38. srcs = [":package-srcs"],
  39. tags = ["automanaged"],
  40. visibility = ["//visibility:public"],
  41. )