mirror of
				https://github.com/optim-enterprises-bv/kubernetes.git
				synced 2025-10-31 02:08:13 +00:00 
			
		
		
		
	make help should be bazel aware
currently it runs bazel build and test.
This commit is contained in:
		
							
								
								
									
										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 | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Mike Danese
					Mike Danese