Browse Source

build: add clean up target

decentral1se 3 years ago
parent
commit
426d73aa56
No known key found for this signature in database GPG Key ID: 3789458B3D0C410
  1. 5
      Makefile

5
Makefile

@ -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

Loading…
Cancel
Save