You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
829 B
29 lines
829 B
load("@io_bazel_rules_go//go:def.bzl", "go_library") |
|
|
|
go_library( |
|
name = "go_default_library", |
|
srcs = ["html2text.go"], |
|
importmap = "go-common/vendor/github.com/jaytaylor/html2text", |
|
importpath = "github.com/jaytaylor/html2text", |
|
visibility = ["//visibility:public"], |
|
deps = [ |
|
"//vendor/github.com/olekukonko/tablewriter:go_default_library", |
|
"//vendor/github.com/ssor/bom:go_default_library", |
|
"@org_golang_x_net//html:go_default_library", |
|
"@org_golang_x_net//html/atom:go_default_library", |
|
], |
|
) |
|
|
|
filegroup( |
|
name = "package-srcs", |
|
srcs = glob(["**"]), |
|
tags = ["automanaged"], |
|
visibility = ["//visibility:private"], |
|
) |
|
|
|
filegroup( |
|
name = "all-srcs", |
|
srcs = [":package-srcs"], |
|
tags = ["automanaged"], |
|
visibility = ["//visibility:public"], |
|
)
|
|
|