Merge pull request #39252 from spxtr/bazelrules

Automatic merge from submit-queue

Add bazel-build and bazel-test to the Makefile.

Lets make these the source of truth rather than some script living in test-infra. That way we can test changes in presubmit.
pull/6/head
Kubernetes Submit Queue 2016-12-27 13:58:53 -08:00 committed by GitHub
commit 32dad7ed85
1 changed files with 8 additions and 0 deletions

View File

@ -467,3 +467,11 @@ else
help:
hack/make-rules/make-help.sh
endif
# Non-dockerized bazel rules.
.PHONY: bazel-build bazel-test
bazel-build:
bazel build //cmd/... //pkg/... //federation/... //plugin/... //build/... //examples/... //test/... //third_party/...
bazel-test:
bazel test --test_output=errors //cmd/... //pkg/... //federation/... //plugin/... //build/... //third_party/...