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