-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
23 lines (19 loc) · 784 Bytes
/
Makefile
File metadata and controls
23 lines (19 loc) · 784 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
.PHONY: all golang python
golang:
- mkdir common container volpe
protoc -I=. --go_out=./common --go_opt=paths=source_relative \
--go-grpc_out=./common --go-grpc_opt=paths=source_relative \
common.proto
protoc -I=. --go_out=./container --go_opt=paths=source_relative \
--go-grpc_out=./container --go-grpc_opt=paths=source_relative \
volpe_container.proto
protoc -I=. --go_out=./volpe --go_opt=paths=source_relative \
--go-grpc_out=./volpe --go-grpc_opt=paths=source_relative \
volpe.proto
all: golang python
python:
- mkdir volpe
python3 -m grpc_tools.protoc -I. --python_out=./volpe/ --pyi_out=./volpe \
--grpc_python_out=./volpe common.proto
python3 -m grpc_tools.protoc -I. --python_out=./volpe --pyi_out=./volpe \
--grpc_python_out=./volpe volpe_container.proto