makefile 310 B

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