prysm-pulse/tools/analyzers/maligned/BUILD.bazel
Preston Van Loon 7bdd1355b8
Add maligned struct static check (#5296)
* Add maligned static check
* Add file, oops
* lint
2020-04-03 05:09:15 +00:00

32 lines
940 B
Python

load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_tool_library")
go_tool_library(
name = "go_tool_library",
srcs = [
"analyzer.go",
"maligned.go",
],
importpath = "maligned",
visibility = ["//visibility:public"],
deps = [
"@org_golang_x_tools//go/analysis:go_tool_library",
"@org_golang_x_tools//go/analysis/passes/inspect:go_tool_library",
"@org_golang_x_tools//go/ast/inspector:go_tool_library",
],
)
go_library(
name = "go_default_library",
srcs = [
"analyzer.go",
"maligned.go",
],
importpath = "github.com/prysmaticlabs/prysm/tools/analyzers/maligned",
visibility = ["//visibility:public"],
deps = [
"@org_golang_x_tools//go/analysis:go_default_library",
"@org_golang_x_tools//go/analysis/passes/inspect:go_default_library",
"@org_golang_x_tools//go/ast/inspector:go_default_library",
],
)