...
1load("//go:def.bzl", "go_tool_library")
2
3go_tool_library(
4 name = "chdir",
5 srcs = ["init.go"],
6 # We add "+initfirst/" to the package path so this package is initialized
7 # before user code. See comment above the init function in init.go.
8 importmap = "+initfirst/github.com/bazelbuild/rules_go/go/tools/bzltestutil/chdir",
9 importpath = "github.com/bazelbuild/rules_go/go/tools/bzltestutil/chdir",
10 visibility = ["//go/tools/bzltestutil:__pkg__"],
11)
12
13filegroup(
14 name = "all_files",
15 testonly = True,
16 srcs = glob(
17 ["**"],
18 exclude = ["testdata/*"],
19 ),
20 visibility = ["//visibility:public"],
21)
View as plain text