Use go install instead of go get for tools installation

main
Elie 2021-04-01 10:23:42 +02:00
parent a1a56c223b
commit 5789a0c24e
1 changed files with 3 additions and 2 deletions

View File

@ -8,6 +8,7 @@ GOBUILD=$(GOCMD) build
GOCLEAN=$(GOCMD) clean
GOTEST=gotestsum
GOGET=$(GOCMD) get
GOINSTALL=$(GOCMD) install
GOTOOL=$(GOCMD) tool
GOFMT=$(GOCMD) fmt
# ACC tests params
@ -65,8 +66,8 @@ deps:
.PHONY: install-tools
install-tools:
$(GOGET) gotest.tools/gotestsum
$(GOGET) github.com/vektra/mockery/v2/.../
$(GOINSTALL) gotest.tools/gotestsum@v1.6.3
$(GOINSTALL) github.com/vektra/mockery/v2@latest
go.mod: FORCE