Skip to content

Commit

Permalink
feat: add makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
amalucelli committed Sep 1, 2022
1 parent bf36a0c commit 2060668
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
.PHONY: test
test:
@go test ./...

.PHONY: tparse
tparse:
@go test -race -count=1 ./... -json -cover -coverpkg=./... | tparse

.PHONY: coverage
coverage:
@go test -cover -coverprofile=coverage.out ./...
@go tool cover -func=coverage.out

.PHONY: lint
lint:
@golangci-lint run ./...

release:
@goreleaser --rm-dist

tidy:
@go mod tidy

0 comments on commit 2060668

Please sign in to comment.