Skip to content

Commit 0bd5b95

Browse files
darkowlzzstefanprodan
authored andcommitted
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 <[email protected]>
1 parent edccfe9 commit 0bd5b95

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

Makefile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,9 +61,10 @@ ifeq ($(shell uname -s),Darwin)
6161
ENVTEST_ARCH=amd64
6262
endif
6363

64-
all: build
64+
all: manager
6565

66-
build: ## Build manager binary
66+
# Build manager binary
67+
manager: generate fmt vet
6768
go build $(GO_STATIC_FLAGS) -o $(BUILD_DIR)/bin/manager main.go
6869

6970
KUBEBUILDER_ASSETS?="$(shell $(ENVTEST) --arch=$(ENVTEST_ARCH) use -i $(ENVTEST_KUBERNETES_VERSION) --bin-dir=$(ENVTEST_ASSETS_DIR) -p path)"

0 commit comments

Comments
 (0)