peridot/vendor/golang.org/x/lint/golint/BUILD.bazel
2022-07-07 22:13:21 +02:00

21 lines
501 B
Python

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