k3s/vendor/github.com/grpc-ecosystem/go-grpc-middleware/makefile

18 lines
285 B
Makefile
Raw Normal View History

2020-05-07 05:09:19 +00:00
SHELL=/bin/bash
GOFILES_NOVENDOR = $(shell go list ./... | grep -v /vendor/)
all: vet fmt test
fmt:
go fmt $(GOFILES_NOVENDOR)
vet:
# do not check lostcancel, they are intentional.
go vet -lostcancel=false $(GOFILES_NOVENDOR)
2020-05-07 05:09:19 +00:00
test: vet
./scripts/test_all.sh
.PHONY: all test