From 2e26a526b1876851d0f7f6eb05e20d0fc70ead3e Mon Sep 17 00:00:00 2001 From: 6543 <6543@obermui.de> Date: Tue, 9 Jan 2024 17:53:56 +0100 Subject: [PATCH] Add `make clean-all` (#3152) Add make target, witch delete all generated stuff too --------- Co-authored-by: qwerty287 <80460567+qwerty287@users.noreply.github.com> --- Makefile | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Makefile b/Makefile index 8eddfa3846..54bb41f3db 100644 --- a/Makefile +++ b/Makefile @@ -103,6 +103,12 @@ clean: ## Clean build artifacts rm -rf build @[ "1" != "$(shell docker image ls woodpecker/make:local -a | wc -l)" ] && docker image rm woodpecker/make:local || echo no docker image to clean +.PHONY: clean-all +clean-all: clean ## Clean all artifacts + rm -rf dist web/dist docs/build docs/node_modules web/node_modules + # delete generated + rm -rf docs/docs/40-cli.md docs/swagger.json + .PHONY: generate generate: generate-swagger ## Run all code generations go generate ./...