Skip to content

Commit

Permalink
Add make clean-all (#3152)
Browse files Browse the repository at this point in the history
Add make target, witch delete all generated stuff too

---------

Co-authored-by: qwerty287 <80460567+qwerty287@users.noreply.github.com>
  • Loading branch information
6543 and qwerty287 authored Jan 9, 2024
1 parent e3cf7b2 commit 2e26a52
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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 ./...
Expand Down

0 comments on commit 2e26a52

Please sign in to comment.