k3s/vendor/github.com/grpc-ecosystem/go-grpc-prometheus/makefile

17 lines
223 B
Makefile
Raw Normal View History

2019-09-27 21:51:53 +00:00
SHELL="/bin/bash"
GOFILES_NOVENDOR = $(shell go list ./... | grep -v /vendor/)
all: vet fmt test
fmt:
go fmt $(GOFILES_NOVENDOR)
vet:
go vet $(GOFILES_NOVENDOR)
test: vet
./scripts/test_all.sh
.PHONY: all vet test