Skip to content

Commit

Permalink
Makefile: Add clean command
Browse files Browse the repository at this point in the history
Add a command clean to remove all generated artifacts and clean up the
workspace.

Signed-off-by: Heathcliff <[email protected]>
  • Loading branch information
heathcliff26 committed Dec 18, 2024
1 parent f8018a9 commit 4dd6dca
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,9 @@ manifests:
validate:
hack/validate.sh

clean:
rm -rf bin manifests/release coverprofiles

golangci-lint:
go install github.com/golangci/golangci-lint/cmd/golangci-lint@latest

Expand All @@ -47,5 +50,6 @@ golangci-lint:
fmt \
manifests \
validate \
clean \
golangci-lint \
$(NULL)

0 comments on commit 4dd6dca

Please sign in to comment.