update BUILD files

This commit is contained in:
Jeff Grafton
2017-10-12 13:52:10 -07:00
parent 32551a3322
commit aee5f457db
2216 changed files with 2985 additions and 6 deletions

View File

@@ -3,6 +3,7 @@ load("@io_bazel_rules_go//go:def.bzl", "go_library")
go_library(
name = "go_default_library",
srcs = ["ginkgo_dsl.go"],
importpath = "github.com/onsi/ginkgo",
visibility = ["//visibility:public"],
deps = [
"//vendor/github.com/onsi/ginkgo/config:go_default_library",

View File

@@ -3,6 +3,7 @@ load("@io_bazel_rules_go//go:def.bzl", "go_library")
go_library(
name = "go_default_library",
srcs = ["config.go"],
importpath = "github.com/onsi/ginkgo/config",
visibility = ["//visibility:public"],
)

View File

@@ -18,6 +18,7 @@ go_library(
"version_command.go",
"watch_command.go",
],
importpath = "github.com/onsi/ginkgo/ginkgo",
visibility = ["//visibility:private"],
deps = [
"//vendor/github.com/onsi/ginkgo/config:go_default_library",
@@ -34,6 +35,7 @@ go_library(
go_binary(
name = "ginkgo",
importpath = "github.com/onsi/ginkgo/ginkgo",
library = ":go_default_library",
visibility = ["//visibility:public"],
)

View File

@@ -10,6 +10,7 @@ go_library(
"testfile_rewriter.go",
"testing_t_rewriter.go",
],
importpath = "github.com/onsi/ginkgo/ginkgo/convert",
visibility = ["//visibility:public"],
)

View File

@@ -16,6 +16,7 @@ go_library(
],
"//conditions:default": [],
}),
importpath = "github.com/onsi/ginkgo/ginkgo/interrupthandler",
visibility = ["//visibility:public"],
)

View File

@@ -3,6 +3,7 @@ load("@io_bazel_rules_go//go:def.bzl", "go_library")
go_library(
name = "go_default_library",
srcs = ["nodot.go"],
importpath = "github.com/onsi/ginkgo/ginkgo/nodot",
visibility = ["//visibility:public"],
)

View File

@@ -7,6 +7,7 @@ go_library(
"run_result.go",
"test_runner.go",
],
importpath = "github.com/onsi/ginkgo/ginkgo/testrunner",
visibility = ["//visibility:public"],
deps = [
"//vendor/github.com/onsi/ginkgo/config:go_default_library",

View File

@@ -7,6 +7,7 @@ go_library(
"vendor_check_go15.go",
"vendor_check_go16.go",
],
importpath = "github.com/onsi/ginkgo/ginkgo/testsuite",
visibility = ["//visibility:public"],
)

View File

@@ -10,6 +10,7 @@ go_library(
"package_hashes.go",
"suite.go",
],
importpath = "github.com/onsi/ginkgo/ginkgo/watch",
visibility = ["//visibility:public"],
deps = ["//vendor/github.com/onsi/ginkgo/ginkgo/testsuite:go_default_library"],
)

View File

@@ -3,6 +3,7 @@ load("@io_bazel_rules_go//go:def.bzl", "go_library")
go_library(
name = "go_default_library",
srcs = ["code_location.go"],
importpath = "github.com/onsi/ginkgo/internal/codelocation",
visibility = ["//vendor/github.com/onsi/ginkgo:__subpackages__"],
deps = ["//vendor/github.com/onsi/ginkgo/types:go_default_library"],
)

View File

@@ -3,6 +3,7 @@ load("@io_bazel_rules_go//go:def.bzl", "go_library")
go_library(
name = "go_default_library",
srcs = ["container_node.go"],
importpath = "github.com/onsi/ginkgo/internal/containernode",
visibility = ["//vendor/github.com/onsi/ginkgo:__subpackages__"],
deps = [
"//vendor/github.com/onsi/ginkgo/internal/leafnodes:go_default_library",

View File

@@ -3,6 +3,7 @@ load("@io_bazel_rules_go//go:def.bzl", "go_library")
go_library(
name = "go_default_library",
srcs = ["failer.go"],
importpath = "github.com/onsi/ginkgo/internal/failer",
visibility = ["//vendor/github.com/onsi/ginkgo:__subpackages__"],
deps = ["//vendor/github.com/onsi/ginkgo/types:go_default_library"],
)

View File

@@ -13,6 +13,7 @@ go_library(
"synchronized_after_suite_node.go",
"synchronized_before_suite_node.go",
],
importpath = "github.com/onsi/ginkgo/internal/leafnodes",
visibility = ["//vendor/github.com/onsi/ginkgo:__subpackages__"],
deps = [
"//vendor/github.com/onsi/ginkgo/internal/codelocation:go_default_library",

View File

@@ -20,6 +20,7 @@ go_library(
],
"//conditions:default": [],
}),
importpath = "github.com/onsi/ginkgo/internal/remote",
visibility = ["//vendor/github.com/onsi/ginkgo:__subpackages__"],
deps = [
"//vendor/github.com/onsi/ginkgo/config:go_default_library",

View File

@@ -6,6 +6,7 @@ go_library(
"spec.go",
"specs.go",
],
importpath = "github.com/onsi/ginkgo/internal/spec",
visibility = ["//vendor/github.com/onsi/ginkgo:__subpackages__"],
deps = [
"//vendor/github.com/onsi/ginkgo/internal/containernode:go_default_library",

View File

@@ -9,6 +9,7 @@ go_library(
"sharded_parallel_spec_iterator.go",
"spec_iterator.go",
],
importpath = "github.com/onsi/ginkgo/internal/spec_iterator",
visibility = ["//vendor/github.com/onsi/ginkgo:__subpackages__"],
deps = ["//vendor/github.com/onsi/ginkgo/internal/spec:go_default_library"],
)

View File

@@ -6,6 +6,7 @@ go_library(
"random_id.go",
"spec_runner.go",
],
importpath = "github.com/onsi/ginkgo/internal/specrunner",
visibility = ["//vendor/github.com/onsi/ginkgo:__subpackages__"],
deps = [
"//vendor/github.com/onsi/ginkgo/config:go_default_library",

View File

@@ -3,6 +3,7 @@ load("@io_bazel_rules_go//go:def.bzl", "go_library")
go_library(
name = "go_default_library",
srcs = ["suite.go"],
importpath = "github.com/onsi/ginkgo/internal/suite",
visibility = ["//vendor/github.com/onsi/ginkgo:__subpackages__"],
deps = [
"//vendor/github.com/onsi/ginkgo/config:go_default_library",

View File

@@ -3,6 +3,7 @@ load("@io_bazel_rules_go//go:def.bzl", "go_library")
go_library(
name = "go_default_library",
srcs = ["testing_t_proxy.go"],
importpath = "github.com/onsi/ginkgo/internal/testingtproxy",
visibility = ["//vendor/github.com/onsi/ginkgo:__subpackages__"],
)

View File

@@ -6,6 +6,7 @@ go_library(
"fake_writer.go",
"writer.go",
],
importpath = "github.com/onsi/ginkgo/internal/writer",
visibility = ["//vendor/github.com/onsi/ginkgo:__subpackages__"],
)

View File

@@ -9,6 +9,7 @@ go_library(
"reporter.go",
"teamcity_reporter.go",
],
importpath = "github.com/onsi/ginkgo/reporters",
visibility = ["//visibility:public"],
deps = [
"//vendor/github.com/onsi/ginkgo/config:go_default_library",

View File

@@ -7,6 +7,7 @@ go_library(
"fake_stenographer.go",
"stenographer.go",
],
importpath = "github.com/onsi/ginkgo/reporters/stenographer",
visibility = ["//visibility:public"],
deps = [
"//vendor/github.com/onsi/ginkgo/reporters/stenographer/support/go-colorable:go_default_library",

View File

@@ -11,6 +11,7 @@ go_library(
],
"//conditions:default": [],
}),
importpath = "github.com/onsi/ginkgo/reporters/stenographer/support/go-colorable",
visibility = ["//visibility:public"],
deps = select({
"@io_bazel_rules_go//go/platform:windows_amd64": [

View File

@@ -16,6 +16,7 @@ go_library(
],
"//conditions:default": [],
}),
importpath = "github.com/onsi/ginkgo/reporters/stenographer/support/go-isatty",
visibility = ["//visibility:public"],
)

View File

@@ -7,6 +7,7 @@ go_library(
"synchronization.go",
"types.go",
],
importpath = "github.com/onsi/ginkgo/types",
visibility = ["//visibility:public"],
)