15 lines
289 B
Makefile
15 lines
289 B
Makefile
install-deps:
|
|
go mod download
|
|
|
|
# Standard go test
|
|
test:
|
|
go test ./... -v -race
|
|
|
|
# Make sure no unnecessary dependencies are present
|
|
go-mod-tidy:
|
|
go mod tidy -v
|
|
git diff-index --quiet HEAD
|
|
|
|
format:
|
|
go fmt $(go list ./... | grep -v /vendor/)
|
|
go vet $(go list ./... | grep -v /vendor/)
|