Define TaskMessage in protobuf

This commit is contained in:
Ken Hibino
2021-03-01 21:09:45 -08:00
parent 02a7c13014
commit 47543b36fd
5 changed files with 325 additions and 1 deletions

7
Makefile Normal file
View File

@@ -0,0 +1,7 @@
ROOT_DIR:=$(shell dirname $(realpath $(firstword $(MAKEFILE_LIST))))
proto: internal/proto/asynq.proto
protoc -I=$(ROOT_DIR)/internal/proto \
--go_out=$(ROOT_DIR)/internal/proto \
--go_opt=module=github.com/hibiken/asynq/internal/proto \
$(ROOT_DIR)/internal/proto/asynq.proto