go_study/go-for-study/vendor/github.com/stretchr/testify/BUILD.bazel

34 lines
993 B
Python

load("@io_bazel_rules_go//go:def.bzl", "go_library")
go_library(
name = "go_default_library",
srcs = ["doc.go"],
importmap = "go-common/vendor/github.com/stretchr/testify",
importpath = "github.com/stretchr/testify",
visibility = ["//visibility:public"],
deps = [
"//vendor/github.com/stretchr/testify/assert:go_default_library",
"//vendor/github.com/stretchr/testify/http:go_default_library",
"//vendor/github.com/stretchr/testify/mock:go_default_library",
],
)
filegroup(
name = "package-srcs",
srcs = glob(["**"]),
tags = ["automanaged"],
visibility = ["//visibility:private"],
)
filegroup(
name = "all-srcs",
srcs = [
":package-srcs",
"//vendor/github.com/stretchr/testify/assert:all-srcs",
"//vendor/github.com/stretchr/testify/http:all-srcs",
"//vendor/github.com/stretchr/testify/mock:all-srcs",
],
tags = ["automanaged"],
visibility = ["//visibility:public"],
)