From 376bde28bae9b93611f775916fd7631be0467a55 Mon Sep 17 00:00:00 2001
From: ko_oler <kooler89@gmail.com>
Date: Thu, 15 Dec 2022 18:06:08 +0800
Subject: [PATCH] fix .gitlab-ci.yml

---
 Makefile | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/Makefile b/Makefile
index 08550c8..d4c3860 100644
--- a/Makefile
+++ b/Makefile
@@ -17,7 +17,7 @@ TSC_MIC_VERSION=$(shell tsc --version | awk '{print $$2;}' | cut -d. -f3)
 # Генерация js
 proto: proto-js
 
-proto-js: protoc-check js-check $(PROTOTSFILES) generate-js
+proto-js: protoc-check js-check $(PROTOTSFILES) generate-ts generate-js
 	@echo "Generated all protobuf JavaScrypt files"
 
 %.ts: %.proto
@@ -27,6 +27,9 @@ proto-js: protoc-check js-check $(PROTOTSFILES) generate-js
  	--ts_proto_out=$(DSTDIR) \
  	"$<"
 
+generate-ts:
+	@echo "Generated all protobuf TypeScript files"
+
 generate-js:
 	@./config/generate.sh
 
-- 
GitLab