Skip to content
Snippets Groups Projects
Commit 31da3360 authored by Semyon Krestyaninov's avatar Semyon Krestyaninov :dog2:
Browse files

модифицирован Makefile для генерации логгирования

parent c8f88c19
No related branches found
No related tags found
No related merge requests found
......@@ -10,12 +10,11 @@ PROTOFILES= $(filter-out $(PROTODIR)/status/status.proto, $(ALLPROTO))
PROTOGOFILES=$(PROTOFILES:.proto=.pb.go)
PROTOGOGRPCFILES=$(PROTOFILES:.proto=_grpc.pb.go)
PKGDIR=pkg
ACCESSLOGGING=$(shell find $(PKGDIR) -name "logging_middleware.go" -type f)
ERRORLOGGING=$(shell find $(PKGDIR) -name "error_logging_middleware.go" -type f)
SERVICETELEMETRY=$(shell find $(PKGDIR) -name "telemetry_middleware.go" -type f)
SERVICEMIDDLEWARE=$(shell find $(PKGDIR) -name "middleware.go" -type f)
SERVICERECOVERING=$(shell find $(PKGDIR) -name "recovering_middleware.go" -type f)
ACCESSLOGGING=$(shell find -name "logging_middleware.go" -type f)
ERRORLOGGING=$(shell find -name "error_logging_middleware.go" -type f)
SERVICETELEMETRY=$(shell find -name "telemetry_middleware.go" -type f)
SERVICEMIDDLEWARE=$(shell find -name "middleware.go" -type f)
SERVICERECOVERING=$(shell find -name "recovering_middleware.go" -type f)
# Генерация grpc-клиентов для go
proto: protoc-check protoc-gen-go-check $(PROTOGOFILES)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment