1SHELL="/bin/bash" 2 3GOFILES_NOVENDOR = $(shell go list ./... | grep -v /vendor/) 4 5all: vet fmt docs test 6 7docs: 8 ./scripts/docs.sh generate 9 10checkdocs: 11 ./scripts/docs.sh check 12 13fmt: 14 go fmt $(GOFILES_NOVENDOR) 15 16vet: 17 go vet $(GOFILES_NOVENDOR) 18 19test: vet 20 ./scripts/test_all.sh 21 22.PHONY: all docs validate test 23