diff --git a/Makefile b/Makefile index 4c4cd29..7a2ae98 100644 --- a/Makefile +++ b/Makefile @@ -4,22 +4,23 @@ VERSION=$(shell git describe --tags) build: go build -ldflags "-X main.Version=$(VERSION)" +.PHONY: install +install: + go mod download + +.PHONY: test +test: + go test -v ./... + .PHONY: dist dist: - goreleaser --rm-dist - -.PHONY: dist-local -dist-local: goreleaser --snapshot --skip-publish --rm-dist -.PHONY: run -run: - ./dist/goreleaser-test_darwin_amd64/goreleaser-test - .PHONY: tidy tidy: go mod tidy .PHONY: clean clean: - rm -rf ./dist \ No newline at end of file + rm -rf ./dist + rm -f ./goreeleaser-test \ No newline at end of file