add "just clean"

This commit is contained in:
6543 2022-07-15 21:12:06 +02:00
parent baf4e7e326
commit b49bd86cdf
No known key found for this signature in database
GPG key ID: C99B82E40B027BAE

View file

@ -21,6 +21,10 @@ lint: tool-golangci tool-gofumpt
fmt: tool-gofumpt
gofumpt -w --extra .
clean:
go clean ./...
rm -rf build/
tool-golangci:
@hash golangci-lint> /dev/null 2>&1; if [ $? -ne 0 ]; then \
go install github.com/golangci/golangci-lint/cmd/golangci-lint@latest; \