mirror of
https://github.com/optim-enterprises-bv/vault.git
synced 2025-10-29 17:52:32 +00:00
Add make clean command (#26150)
This commit is contained in:
6
Makefile
6
Makefile
@@ -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)
|
||||
@@ -389,3 +389,7 @@ ci-copywriteheaders:
|
||||
.PHONY: all-packages
|
||||
all-packages:
|
||||
@echo $(ALL_PACKAGES) | tr ' ' '\n'
|
||||
|
||||
.PHONY: clean
|
||||
clean:
|
||||
@echo "==> Cleaning..."
|
||||
|
||||
Reference in New Issue
Block a user