Skip to content

Commit

Permalink
Update Makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
zatamine authored and Amine HADDAD committed Apr 18, 2022
1 parent 7a098a9 commit 7279c7f
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
.PHONY: test lint clean

GO_VERSION ?= 1.18
GO_CMD := go$(GO_VERSION)

test:
go test -v ./... -cover
test: clean
${GO_CMD} test -v ./... -cover

lint:
go vet ./...
${GO_CMD} vet ./...

clean:
go mod tidy
${GO_CMD} mod tidy

0 comments on commit 7279c7f

Please sign in to comment.