Skip to content

Commit 15c5a63

Browse files
committed
[build] Fix make fdset command to include common.proto
1 parent de4d866 commit 15c5a63

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -302,8 +302,8 @@ fdset:
302302
@echo -e "building fdset files \033[1;33m==>\033[0m \033[1;34m./common/protos\033[0m"
303303

304304
@mkdir -p fdset
305-
@cd common/protos && protoc -I.. -I. -o events.fdset events.proto && cd ../..
306-
@mv common/protos/events.fdset fdset
305+
@cd common/protos && protoc -I.. -I. -o common.fdset common.proto && protoc -I.. -I. -o events.fdset events.proto && cd ../..
306+
@mv common/protos/*.fdset fdset
307307

308308
@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"
309309

0 commit comments

Comments
 (0)