Skip to content

Commit

Permalink
Add make clean command (#26150)
Browse files Browse the repository at this point in the history
  • Loading branch information
miagilepner authored Mar 26, 2024
1 parent 483dd20 commit 1885f16
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ protolint: prep check-tools-external
# now run as a pre-commit hook (and there's little value in
# making every build run the formatter), we've removed that
# dependency.
prep: check-go-version
prep: check-go-version clean
@echo "==> Running go generate..."
@GOARCH= GOOS= $(GO_CMD) generate $(MAIN_PACKAGES)
@GOARCH= GOOS= cd api && $(GO_CMD) generate $(API_PACKAGES)
Expand Down Expand Up @@ -389,3 +389,7 @@ ci-copywriteheaders:
.PHONY: all-packages
all-packages:
@echo $(ALL_PACKAGES) | tr ' ' '\n'

.PHONY: clean
clean:
@echo "==> Cleaning..."

0 comments on commit 1885f16

Please sign in to comment.