peridot/vendor/golang.org/x/lint/golint/BUILD.bazel

21 lines
501 B
Python
Raw Permalink Normal View History

2022-07-07 20:11:50 +00:00
load("@io_bazel_rules_go//go:def.bzl", "go_binary", "go_library")
go_library(
name = "golint_lib",
srcs = [
"golint.go",
"import.go",
"importcomment.go",
],
importmap = "peridot.resf.org/vendor/golang.org/x/lint/golint",
importpath = "golang.org/x/lint/golint",
visibility = ["//visibility:private"],
deps = ["//vendor/golang.org/x/lint"],
)
go_binary(
name = "golint",
embed = [":golint_lib"],
visibility = ["//visibility:public"],
)