mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-08 03:33:56 +00:00
Add //hack:verify-boilerplate rule.
This commit is contained in:
parent
6e268e6f83
commit
0690573c30
2
Makefile
2
Makefile
@ -498,7 +498,7 @@ endef
|
|||||||
@echo "$$BAZEL_TEST_HELP_INFO"
|
@echo "$$BAZEL_TEST_HELP_INFO"
|
||||||
else
|
else
|
||||||
bazel-test:
|
bazel-test:
|
||||||
bazel test --test_output=errors //cmd/... //pkg/... //federation/... //plugin/... //build/... //third_party/... //hack/...
|
bazel test --test_output=errors //cmd/... //pkg/... //federation/... //plugin/... //build/... //third_party/... //hack/... //hack:verify-all
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(PRINT_HELP),y)
|
ifeq ($(PRINT_HELP),y)
|
||||||
|
15
hack/BUILD
15
hack/BUILD
@ -19,3 +19,18 @@ filegroup(
|
|||||||
],
|
],
|
||||||
tags = ["automanaged"],
|
tags = ["automanaged"],
|
||||||
)
|
)
|
||||||
|
|
||||||
|
sh_test(
|
||||||
|
name = "verify-boilerplate",
|
||||||
|
srcs = ["verify-boilerplate.sh"],
|
||||||
|
data = ["//:all-srcs"],
|
||||||
|
tags = ["manual"],
|
||||||
|
)
|
||||||
|
|
||||||
|
test_suite(
|
||||||
|
name = "verify-all",
|
||||||
|
tags = ["manual"],
|
||||||
|
tests = [
|
||||||
|
"verify-boilerplate",
|
||||||
|
],
|
||||||
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user