22 lines
310 B
Makefile
22 lines
310 B
Makefile
SHELL="/bin/bash"
|
|
|
|
GOFILES_NOVENDOR = $(shell go list ./... | grep -v /vendor/)
|
|
|
|
all: vet fmt docs test
|
|
|
|
docs:
|
|
./scripts/docs.sh generate
|
|
|
|
checkdocs:
|
|
./scripts/docs.sh check
|
|
|
|
fmt:
|
|
go fmt $(GOFILES_NOVENDOR)
|
|
|
|
vet:
|
|
go vet $(GOFILES_NOVENDOR)
|
|
|
|
test: vet
|
|
./scripts/test_all.sh
|
|
|
|
.PHONY: all docs validate test
|