peridot/vendor/github.com/spf13/cobra/doc/BUILD.bazel
Neil Hanlon 0d3255ccca
feat(peridot-cli/task-logs): bump cobra for mutex feature
* refactor some code into utils
* prep for task info
2024-07-26 22:38:23 -04:00

36 lines
885 B
Python

load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test")
go_library(
name = "doc",
srcs = [
"man_docs.go",
"md_docs.go",
"rest_docs.go",
"util.go",
"yaml_docs.go",
],
importmap = "peridot.resf.org/vendor/github.com/spf13/cobra/doc",
importpath = "github.com/spf13/cobra/doc",
visibility = ["//visibility:public"],
deps = [
"//vendor/github.com/spf13/cobra",
"//vendor/github.com/spf13/pflag",
"//vendor/gopkg.in/yaml.v3:yaml_v3",
"@com_github_cpuguy83_go_md2man_v2//md2man",
],
)
go_test(
name = "doc_test",
srcs = [
"cmd_test.go",
"man_docs_test.go",
"man_examples_test.go",
"md_docs_test.go",
"rest_docs_test.go",
"yaml_docs_test.go",
],
embed = [":doc"],
deps = ["//vendor/github.com/spf13/cobra"],
)