Skip to content

Commit b682cd0

Browse files
authored
BUILD: cleaned up some old gazelle ignores (#3060)
1 parent becde3b commit b682cd0

File tree

2 files changed

+7
-6
lines changed

2 files changed

+7
-6
lines changed

BUILD.bazel

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,6 @@ load(
3333
# gazelle:exclude go/tools/coverdata
3434
# gazelle:exclude go/tools/fetch_repo
3535
# gazelle:exclude go/tools/windows-testrunner
36-
# gazelle:exclude go/tools/testinit
37-
# gazelle:exclude go/tools/testwrapper
3836
# gazelle:go_naming_convention import_alias
3937

4038
# TODO(jayconrod): add a gazelle rule so gazelle can be run automatically.

go/tools/bzltestutil/BUILD.bazel

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,14 +15,11 @@ go_tool_library(
1515
go_test(
1616
name = "bzltestutil_test",
1717
srcs = [
18-
"init.go",
19-
"test2json.go",
20-
"wrap.go",
2118
"wrap_test.go",
22-
"xml.go",
2319
"xml_test.go",
2420
],
2521
data = glob(["testdata/**"]),
22+
embed = [":bzltestutil"],
2623
)
2724

2825
filegroup(
@@ -34,3 +31,9 @@ filegroup(
3431
),
3532
visibility = ["//visibility:public"],
3633
)
34+
35+
alias(
36+
name = "go_default_library",
37+
actual = ":bzltestutil",
38+
visibility = ["//visibility:public"],
39+
)

0 commit comments

Comments
 (0)