From 15c5a63fd3a57bbaea69e3b8f03b440811f074ea Mon Sep 17 00:00:00 2001 From: Teo Mrnjavac Date: Mon, 9 Dec 2024 11:46:38 +0100 Subject: [PATCH] [build] Fix make fdset command to include common.proto --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 4fcb0f8f..7fc8aa7e 100644 --- a/Makefile +++ b/Makefile @@ -302,8 +302,8 @@ fdset: @echo -e "building fdset files \033[1;33m==>\033[0m \033[1;34m./common/protos\033[0m" @mkdir -p fdset - @cd common/protos && protoc -I.. -I. -o events.fdset events.proto && cd ../.. - @mv common/protos/events.fdset fdset + @cd common/protos && protoc -I.. -I. -o common.fdset common.proto && protoc -I.. -I. -o events.fdset events.proto && cd ../.. + @mv common/protos/*.fdset fdset @echo -e "to consume with \033[1;33mhttps://github.com/sevagh/pq\033[0m: FDSET_PATH=./fdset pq kafka aliecs.environment --brokers kafka-broker-hostname:9092 --beginning --msgtype events.Event"