mirror of
https://github.com/optim-enterprises-bv/vault.git
synced 2025-11-02 19:47:54 +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
|
# now run as a pre-commit hook (and there's little value in
|
||||||
# making every build run the formatter), we've removed that
|
# making every build run the formatter), we've removed that
|
||||||
# dependency.
|
# dependency.
|
||||||
prep: check-go-version
|
prep: check-go-version clean
|
||||||
@echo "==> Running go generate..."
|
@echo "==> Running go generate..."
|
||||||
@GOARCH= GOOS= $(GO_CMD) generate $(MAIN_PACKAGES)
|
@GOARCH= GOOS= $(GO_CMD) generate $(MAIN_PACKAGES)
|
||||||
@GOARCH= GOOS= cd api && $(GO_CMD) generate $(API_PACKAGES)
|
@GOARCH= GOOS= cd api && $(GO_CMD) generate $(API_PACKAGES)
|
||||||
@@ -389,3 +389,7 @@ ci-copywriteheaders:
|
|||||||
.PHONY: all-packages
|
.PHONY: all-packages
|
||||||
all-packages:
|
all-packages:
|
||||||
@echo $(ALL_PACKAGES) | tr ' ' '\n'
|
@echo $(ALL_PACKAGES) | tr ' ' '\n'
|
||||||
|
|
||||||
|
.PHONY: clean
|
||||||
|
clean:
|
||||||
|
@echo "==> Cleaning..."
|
||||||
|
|||||||
Reference in New Issue
Block a user