Rename make target `build` to `manager`
Due to the existence of a BUILD_DIR called `build` the `build` make target never works. Rename the make target as `manager`, in alignment with other makefiles in other repos and not conflict with the `build` directory. Signed-off-by: Sunny <darkowlzz@protonmail.com>
This commit is contained in:
		
							parent
							
								
									edccfe9e65
								
							
						
					
					
						commit
						0bd5b95c89
					
				
							
								
								
									
										5
									
								
								Makefile
								
								
								
								
							
							
						
						
									
										5
									
								
								Makefile
								
								
								
								
							|  | @ -61,9 +61,10 @@ ifeq ($(shell uname -s),Darwin) | ||||||
| ENVTEST_ARCH=amd64 | ENVTEST_ARCH=amd64 | ||||||
| endif | endif | ||||||
| 
 | 
 | ||||||
| all: build | all: manager | ||||||
| 
 | 
 | ||||||
| build: ## Build manager binary
 | # Build manager binary
 | ||||||
|  | manager: generate fmt vet | ||||||
| 	go build $(GO_STATIC_FLAGS) -o $(BUILD_DIR)/bin/manager main.go | 	go build $(GO_STATIC_FLAGS) -o $(BUILD_DIR)/bin/manager main.go | ||||||
| 
 | 
 | ||||||
| KUBEBUILDER_ASSETS?="$(shell $(ENVTEST) --arch=$(ENVTEST_ARCH) use -i $(ENVTEST_KUBERNETES_VERSION) --bin-dir=$(ENVTEST_ASSETS_DIR) -p path)" | KUBEBUILDER_ASSETS?="$(shell $(ENVTEST) --arch=$(ENVTEST_ARCH) use -i $(ENVTEST_KUBERNETES_VERSION) --bin-dir=$(ENVTEST_ASSETS_DIR) -p path)" | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue