add clean utility

This commit is contained in:
Cody Lee 2022-12-17 08:56:07 -06:00
parent 9ffa6e3af9
commit f687290cd6
No known key found for this signature in database
1 changed files with 6 additions and 2 deletions

View File

@ -58,8 +58,12 @@ $(shell go env GOPATH)/bin/rsrc:
cd /tmp ; go get $(RSRC_BIN) ; go install $(RSRC_BIN)@latest
bulid-and-release:
bulid-and-release: clean
goreleaser release --rm-dist
build:
build: clean
goreleaser release --rm-dist --skip-validate --skip-publish --skip-sign --debug
clean:
git clean -xdf
docker images -f "dangling=true" -q | xargs docker rmi