load("//go:def.bzl", "go_library", "go_test") go_library( name = "bazel", srcs = [ "bazel.go", "runfiles.go", ], importpath = "github.com/bazelbuild/rules_go/go/tools/bazel", visibility = ["//visibility:public"], ) go_test( name = "bazel_test", size = "small", srcs = ["bazel_test.go"], data = ["empty.txt"], embed = [":bazel"], ) # Runfiles functionality in this package is tested by //tests/core/runfiles. filegroup( name = "all_files", testonly = True, srcs = glob(["**"]), visibility = ["//visibility:public"], ) alias( name = "go_default_library", actual = ":bazel", visibility = ["//visibility:public"], )