Skip to content

Commit

Permalink
Add //hack:verify-boilerplate rule.
Browse files Browse the repository at this point in the history
  • Loading branch information
spxtr committed Jan 19, 2017
1 parent 6e268e6 commit 0690573
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
15 changes: 15 additions & 0 deletions hack/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -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",
],
)

0 comments on commit 0690573

Please sign in to comment.