go-common/vendor/github.com/jaytaylor/html2text/BUILD.bazel
2019-04-22 02:59:20 +00:00

30 lines
829 B
Python

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"],
)