diff --git a/Makefile b/Makefile index 1581e9b..c07bc6e 100644 --- a/Makefile +++ b/Makefile @@ -43,8 +43,8 @@ recover: #test test: # simulate recover (quick, for early for feedback) - go build ${PKGS} github.com/rtr7/tools/cmd/... - go test -count=1 -v -race github.com/rtr7/router7/internal/... + go build -mod=mod ${PKGS} github.com/rtr7/tools/cmd/... + go test -mod=mod -count=1 -v -race github.com/rtr7/router7/internal/... # integration tests ${SUDO} $(shell go env GOROOT)/bin/go test -count=1 -v -race github.com/rtr7/router7/...