File tree 1 file changed +24
-0
lines changed
1 file changed +24
-0
lines changed Original file line number Diff line number Diff line change @@ -471,8 +471,32 @@ endif
471
471
472
472
# Non-dockerized bazel rules.
473
473
.PHONY : bazel-build bazel-test
474
+
475
+ ifeq ($(PRINT_HELP ) ,y)
476
+ define BAZEL_BUILD_HELP_INFO
477
+ # Build with bazel
478
+ #
479
+ # Example:
480
+ # make bazel-build
481
+ endef
482
+ bazel-build :
483
+ @echo " $$ BAZEL_BUILD_HELP_INFO"
484
+ else
474
485
bazel-build :
475
486
bazel build //cmd/... //pkg/... //federation/... //plugin/... //build/... //examples/... //test/... //third_party/...
487
+ endif
476
488
489
+
490
+ ifeq ($(PRINT_HELP ) ,y)
491
+ bazel-test :
492
+ define BAZEL_TEST_HELP_INFO
493
+ # Test with bazel
494
+ #
495
+ # Example:
496
+ # make bazel-test
497
+ endef
498
+ @echo "$$BAZEL_TEST_HELP_INFO"
499
+ else
477
500
bazel-test :
478
501
bazel test --test_output=errors //cmd/... //pkg/... //federation/... //plugin/... //build/... //third_party/... //hack/...
502
+ endif
You can’t perform that action at this time.
0 commit comments