1SHELL=/bin/bash 2 3GOFILES_NOVENDOR = $(shell go list ./... | grep -v /vendor/) 4 5all: vet fmt test 6 7fmt: 8 go fmt $(GOFILES_NOVENDOR) 9 10vet: 11 # do not check lostcancel, they are intentional. 12 go vet -lostcancel=false $(GOFILES_NOVENDOR) 13 14test: vet 15 ./scripts/test_all.sh 16 17.PHONY: all test