41 lines
850 B
Text
41 lines
850 B
Text
|
package(default_visibility = ["//visibility:public"])
|
||
|
|
||
|
licenses(["notice"])
|
||
|
|
||
|
load(
|
||
|
"@io_bazel_rules_go//go:def.bzl",
|
||
|
"go_library",
|
||
|
)
|
||
|
|
||
|
go_library(
|
||
|
name = "go_default_library",
|
||
|
srcs = [
|
||
|
"command_groups.go",
|
||
|
"markdown.go",
|
||
|
"normalizers.go",
|
||
|
"templater.go",
|
||
|
"templates.go",
|
||
|
],
|
||
|
tags = ["automanaged"],
|
||
|
deps = [
|
||
|
"//pkg/util/term:go_default_library",
|
||
|
"//vendor:github.com/MakeNowJust/heredoc",
|
||
|
"//vendor:github.com/russross/blackfriday",
|
||
|
"//vendor:github.com/spf13/cobra",
|
||
|
"//vendor:github.com/spf13/pflag",
|
||
|
],
|
||
|
)
|
||
|
|
||
|
filegroup(
|
||
|
name = "package-srcs",
|
||
|
srcs = glob(["**"]),
|
||
|
tags = ["automanaged"],
|
||
|
visibility = ["//visibility:private"],
|
||
|
)
|
||
|
|
||
|
filegroup(
|
||
|
name = "all-srcs",
|
||
|
srcs = [":package-srcs"],
|
||
|
tags = ["automanaged"],
|
||
|
)
|