mirror of
https://github.com/rocky-linux/peridot.git
synced 2024-12-30 14:00:57 +00:00
20 lines
501 B
Text
20 lines
501 B
Text
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"],
|
|
)
|