Takahiro Suzuki | d7bf820 | 2020-12-17 20:21:59 +0900 | [diff] [blame^] | 1 | SHELL=/bin/bash |
2 | |||||
3 | GOFILES_NOVENDOR = $(shell go list ./... | grep -v /vendor/) | ||||
4 | |||||
5 | all: vet fmt test | ||||
6 | |||||
7 | fmt: | ||||
8 | go fmt $(GOFILES_NOVENDOR) | ||||
9 | |||||
10 | vet: | ||||
11 | go vet $(GOFILES_NOVENDOR) | ||||
12 | |||||
13 | test: vet | ||||
14 | ./scripts/test_all.sh | ||||
15 | |||||
16 | .PHONY: all test |