Skip to content

Commit

Permalink
When building binaries, compile the whole package. (#1208)
Browse files Browse the repository at this point in the history
Currently we have a single file so the effect is the same.
But it might save us some frustration if we ever add more, and this way
shows the intent better.
  • Loading branch information
porridge committed Dec 20, 2019
1 parent 366222d commit ec73f07
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -70,12 +70,12 @@ manager-clean:
run:
# for local development, webhooks are disabled by default
# if you enable them, you have to take care of providing the TLS certs locally
ENABLE_WEBHOOKS=${ENABLE_WEBHOOKS} go run -ldflags "${LDFLAGS}" ./cmd/manager/main.go
ENABLE_WEBHOOKS=${ENABLE_WEBHOOKS} go run -ldflags "${LDFLAGS}" ./cmd/manager

.PHONY: deploy
# Install KUDO into a cluster via kubectl kudo init
deploy:
go run -ldflags "${LDFLAGS}" cmd/kubectl-kudo/main.go init
go run -ldflags "${LDFLAGS}" ./cmd/kubectl-kudo init

.PHONY: deploy-clean
deploy-clean:
Expand All @@ -93,7 +93,7 @@ generate-clean:
.PHONY: cli-fast
# Build CLI but don't lint or run code generation first.
cli-fast:
go build -ldflags "${LDFLAGS}" -o bin/${CLI} cmd/kubectl-kudo/main.go
go build -ldflags "${LDFLAGS}" -o bin/${CLI} ./cmd/kubectl-kudo

.PHONY: cli
# Build CLI
Expand Down

0 comments on commit ec73f07

Please sign in to comment.