Add //hack:verify-boilerplate rule.

pull/6/head
Joe Finney 2017-01-19 11:10:48 -08:00
parent 6e268e6f83
commit 0690573c30
2 changed files with 16 additions and 1 deletions

View File

@ -498,7 +498,7 @@ endef
@echo "$$BAZEL_TEST_HELP_INFO"
else
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
ifeq ($(PRINT_HELP),y)

View File

@ -19,3 +19,18 @@ filegroup(
],
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",
],
)