mirror of
https://github.com/rocky-linux/peridot.git
synced 2024-11-01 04:41:22 +00:00
21 lines
501 B
Python
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"],
|
|
)
|