build: add clean up target

This commit is contained in:
decentral1se 2022-02-06 13:40:56 +01:00
parent dd5e2c2196
commit 426d73aa56
Signed by: decentral1se
GPG Key ID: 03789458B3D0C410
1 changed files with 4 additions and 1 deletions

View File

@ -13,9 +13,12 @@ install:
test:
@go test ./... -cover -v
clean:
@rm -f /tmp/distribusi-go* && rm ./distribusi
release:
@goreleaser release --snapshot --rm-dist && \
ssh varia.zone mkdir -p public_html/distribusi-go/$(VERSION) && \
scp -r dist/* varia.zone:public_html/distribusi-go/$(VERSION)
.PHONY: build install test release
.PHONY: build install test clean release