Skip to content

Commit 1885f16

Browse files
authored
Add make clean command (#26150)
1 parent 483dd20 commit 1885f16

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

Makefile

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ protolint: prep check-tools-external
158158
# now run as a pre-commit hook (and there's little value in
159159
# making every build run the formatter), we've removed that
160160
# dependency.
161-
prep: check-go-version
161+
prep: check-go-version clean
162162
@echo "==> Running go generate..."
163163
@GOARCH= GOOS= $(GO_CMD) generate $(MAIN_PACKAGES)
164164
@GOARCH= GOOS= cd api && $(GO_CMD) generate $(API_PACKAGES)
@@ -389,3 +389,7 @@ ci-copywriteheaders:
389389
.PHONY: all-packages
390390
all-packages:
391391
@echo $(ALL_PACKAGES) | tr ' ' '\n'
392+
393+
.PHONY: clean
394+
clean:
395+
@echo "==> Cleaning..."

0 commit comments

Comments
 (0)