mirror of https://github.com/k3s-io/k3s
Merge pull request #39552 from mikedanese/make-bzl
Automatic merge from submit-queue (batch tested with PRs 39544, 39552, 39553) make help should be bazel awarepull/6/head
commit
bdaad65868
24
Makefile
24
Makefile
|
@ -471,8 +471,32 @@ endif
|
|||
|
||||
# Non-dockerized bazel rules.
|
||||
.PHONY: bazel-build bazel-test
|
||||
|
||||
ifeq ($(PRINT_HELP),y)
|
||||
define BAZEL_BUILD_HELP_INFO
|
||||
# Build with bazel
|
||||
#
|
||||
# Example:
|
||||
# make bazel-build
|
||||
endef
|
||||
bazel-build:
|
||||
@echo "$$BAZEL_BUILD_HELP_INFO"
|
||||
else
|
||||
bazel-build:
|
||||
bazel build //cmd/... //pkg/... //federation/... //plugin/... //build/... //examples/... //test/... //third_party/...
|
||||
endif
|
||||
|
||||
|
||||
ifeq ($(PRINT_HELP),y)
|
||||
bazel-test:
|
||||
define BAZEL_TEST_HELP_INFO
|
||||
# Test with bazel
|
||||
#
|
||||
# Example:
|
||||
# make bazel-test
|
||||
endef
|
||||
@echo "$$BAZEL_TEST_HELP_INFO"
|
||||
else
|
||||
bazel-test:
|
||||
bazel test --test_output=errors //cmd/... //pkg/... //federation/... //plugin/... //build/... //third_party/... //hack/...
|
||||
endif
|
||||
|
|
Loading…
Reference in New Issue