diff --git a/Makefile b/Makefile index 12b9f0834fd93f385735da38d444435d4a92d5c9..c52dd2ad82b0b44b65e2c37ae1b09bdcfc539197 100644 --- a/Makefile +++ b/Makefile @@ -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)