summaryrefslogtreecommitdiff
path: root/go/vendor/github.com/grpc-ecosystem/go-grpc-middleware/makefile
diff options
context:
space:
mode:
Diffstat (limited to 'go/vendor/github.com/grpc-ecosystem/go-grpc-middleware/makefile')
-rw-r--r--go/vendor/github.com/grpc-ecosystem/go-grpc-middleware/makefile22
1 files changed, 22 insertions, 0 deletions
diff --git a/go/vendor/github.com/grpc-ecosystem/go-grpc-middleware/makefile b/go/vendor/github.com/grpc-ecosystem/go-grpc-middleware/makefile
new file mode 100644
index 0000000..3e0f296
--- /dev/null
+++ b/go/vendor/github.com/grpc-ecosystem/go-grpc-middleware/makefile
@@ -0,0 +1,22 @@
+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