Files
tidb/pkg/util/hack/BUILD.bazel

24 lines
485 B
Python

load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test")
go_library(
name = "hack",
srcs = ["hack.go"],
importpath = "github.com/pingcap/tidb/pkg/util/hack",
visibility = ["//visibility:public"],
)
go_test(
name = "hack_test",
timeout = "short",
srcs = [
"hack_test.go",
"main_test.go",
],
embed = [":hack"],
flaky = True,
deps = [
"//pkg/testkit/testsetup",
"@org_uber_go_goleak//:goleak",
],
)