Skip to content

Commit

Permalink
[build] Fix make fdset command to include common.proto
Browse files Browse the repository at this point in the history
  • Loading branch information
teo committed Dec 11, 2024
1 parent 50cf2cd commit 27baac2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Expand Down

0 comments on commit 27baac2

Please sign in to comment.