mirror of https://github.com/k3s-io/k3s
have multiple BUILD files in vendor/
parent
ce860e187c
commit
5b12a2abb9
|
@ -10,7 +10,10 @@
|
|||
"./examples"
|
||||
],
|
||||
"SkippedPaths": [
|
||||
"^_.*"
|
||||
"^_.*",
|
||||
"^staging.*",
|
||||
"_vendor"
|
||||
],
|
||||
"AddSourcesRules": true
|
||||
"AddSourcesRules": true,
|
||||
"VendorMultipleBuildFiles": true
|
||||
}
|
||||
|
|
4
Makefile
4
Makefile
|
@ -500,7 +500,7 @@ bazel-build:
|
|||
@echo "$$BAZEL_BUILD_HELP_INFO"
|
||||
else
|
||||
bazel-build:
|
||||
bazel build //cmd/... //pkg/... //federation/... //plugin/... //third_party/... //examples/... //test/...
|
||||
bazel build //cmd/... //pkg/... //federation/... //plugin/... //third_party/... //examples/... //test/... //vendor/k8s.io/...
|
||||
endif
|
||||
|
||||
|
||||
|
@ -515,7 +515,7 @@ bazel-test:
|
|||
@echo "$$BAZEL_TEST_HELP_INFO"
|
||||
else
|
||||
bazel-test:
|
||||
bazel test --flaky_test_attempts=3 //cmd/... //pkg/... //federation/... //plugin/... //third_party/... //hack/... //hack:verify-all
|
||||
bazel test --flaky_test_attempts=3 //cmd/... //pkg/... //federation/... //plugin/... //third_party/... //hack/... //hack:verify-all //vendor/k8s.io/...
|
||||
endif
|
||||
|
||||
ifeq ($(PRINT_HELP),y)
|
||||
|
|
|
@ -87,7 +87,7 @@ TEST_BINARY_TARGETS = [
|
|||
"//examples/k8petstore/web-server/src",
|
||||
"//federation/cmd/genfeddocs",
|
||||
"//test/e2e:e2e.test",
|
||||
"//vendor:github.com/onsi/ginkgo/ginkgo_bin",
|
||||
"//vendor/github.com/onsi/ginkgo/ginkgo:ginkgo",
|
||||
"//cmd/kubemark", # TODO: server platforms only
|
||||
"//test/e2e_node:e2e_node.test", # TODO: server platforms only
|
||||
]
|
||||
|
|
|
@ -15,7 +15,7 @@ go_library(
|
|||
":bindata",
|
||||
],
|
||||
deps = [
|
||||
"//vendor:github.com/golang/glog",
|
||||
"//vendor/github.com/golang/glog:go_default_library",
|
||||
],
|
||||
)
|
||||
|
||||
|
@ -29,14 +29,14 @@ genrule(
|
|||
],
|
||||
outs = ["bindata.go"],
|
||||
cmd = """
|
||||
$(location //vendor:github.com/jteeuwen/go-bindata/go-bindata_bin) \
|
||||
$(location //vendor/github.com/jteeuwen/go-bindata/go-bindata:go-bindata) \
|
||||
-nometadata -o "$(OUTS)" -pkg generated \
|
||||
-prefix $$(pwd) \
|
||||
-ignore .jpg -ignore .png -ignore .md \
|
||||
$(SRCS)
|
||||
""",
|
||||
tools = [
|
||||
"//vendor:github.com/jteeuwen/go-bindata/go-bindata_bin",
|
||||
"//vendor/github.com/jteeuwen/go-bindata/go-bindata",
|
||||
],
|
||||
)
|
||||
|
||||
|
|
Loading…
Reference in New Issue