Skip to content

Commit

Permalink
don't touch unnecessary files
Browse files Browse the repository at this point in the history
  • Loading branch information
ellie-idb committed Dec 28, 2024
1 parent 7346ec1 commit 8969300
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 14 deletions.
16 changes: 8 additions & 8 deletions go/runfiles/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -33,19 +33,19 @@ alias(
visibility = ["//visibility:public"],
)

filegroup(
name = "all_files",
testonly = True,
srcs = glob(["**"]),
visibility = ["//visibility:public"],
)

go_test(
name = "runfiles_test",
name = "example_test",
srcs = [
"caller_repository_example_test.go",
"example_test.go",
"rlocationpath_xdefs_example_test.go",
],
deps = [":runfiles"],
)

filegroup(
name = "all_files",
testonly = True,
srcs = glob(["**"]),
visibility = ["//visibility:public"],
)
1 change: 1 addition & 0 deletions go/tools/builders/stdliblist.go
Original file line number Diff line number Diff line change
Expand Up @@ -275,6 +275,7 @@ func stdliblist(args []string) error {
if cgoEnabled {
listArgs = append(listArgs, "-compiled=true")
}

listArgs = append(listArgs, "-json", "builtin", "std", "runtime/cgo")

jsonFile, err := os.Create(*out)
Expand Down
6 changes: 0 additions & 6 deletions go/tools/bzltestutil/chdir/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,3 @@ filegroup(
),
visibility = ["//visibility:public"],
)

alias(
name = "go_default_library",
actual = ":chdir",
visibility = ["//visibility:public"],
)

0 comments on commit 8969300

Please sign in to comment.