Skip to content

Commit 5b184c1

Browse files
committed
Bazel/Go: add some comments
1 parent cba4ba0 commit 5b184c1

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

go/extractor/BUILD.bazel

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,9 @@ go_library(
2525
],
2626
)
2727

28-
# the other targets are not generated
28+
# the other targets are not generated by gazelle
29+
30+
# this is separate from `tokenizer-jar` below because we don't want these compiled class files in the pack
2931
java_library(
3032
name = "tokenizer-deps",
3133
srcs = [
@@ -36,6 +38,7 @@ java_library(
3638
],
3739
)
3840

41+
# we only need these compiled class files in the pack
3942
java_library(
4043
name = "tokenizer-jar",
4144
srcs = [
@@ -51,7 +54,7 @@ pkg_files(
5154
srcs = [":tokenizer-jar"],
5255
prefix = "tools",
5356
renames = {
54-
":tokenizer-jar": "tokenizer.jar",
57+
":tokenizer-jar": "tokenizer.jar", # name is `libtokenizer.jar` by default
5558
},
5659
visibility = ["//go:__pkg__"],
5760
)

0 commit comments

Comments
 (0)