Skip to content

Commit

Permalink
make: add phony to build
Browse files Browse the repository at this point in the history
This is a convenience to get the makefile to build whether it likes it or not.
  • Loading branch information
gene-redpanda committed Oct 11, 2024
1 parent ccc1380 commit 6e0879a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/go/rpk/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ all: help

ready: build test fmt lint bazel check_diff ## Runs all. Ensures commit is ready.

.PHONY: build
build: ## Build rpk.
$(shell mkdir -p $(OUTDIR))
$(GOCMD) build -ldflags '$(LDFLAGS)' -o $(OUTDIR) ./...
Expand Down

0 comments on commit 6e0879a

Please sign in to comment.