Skip to content

Commit 00963eb

Browse files
Andrei PashkinAndrei Pashkin
Andrei Pashkin
authored and
Andrei Pashkin
committed
RPC: progress
1 parent e20d59e commit 00963eb

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

69 files changed

+8623
-56
lines changed

Makefile

+45
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,54 @@ entities-py-proto:
3030
--entities_out=$(ENTITIES_DIR)/python/src/ \
3131
$(wildcard $(ENTITIES_DIR)/proto/*.proto) $(wildcard $(ENTITIES_DIR)/proto/**/*.proto) $(wildcard $(ENTITIES_DIR)/proto/**/**/*.proto)
3232

33+
.PHONY: RPC-py-expressions-parser
3334
RPC-py-expressions-parser:
3435
$(ANTLR4) \
3536
-visitor \
3637
-Dlanguage=Python3 \
3738
-o $(RPC_DIR)/python/src/onedrive_client/RPC/expressions/parser/ \
3839
$(RPC_DIR)/Expressions.g4
40+
41+
.PHONY: RPC-py-proto
42+
RPC-py-proto:
43+
$(PROTOC) \
44+
--proto_path $(PROTOBUF_SRC)/src \
45+
--proto_path $(RPC_DIR)/proto/ \
46+
--python_out $(RPC_DIR)/python/src/ \
47+
$(RPC_DIR)/proto/onedrive_client/RPC/RPC.proto
48+
49+
.PHONY: RPC-py-models
50+
RPC-py-models:
51+
$(PROTOC) \
52+
--proto_path $(PROTOBUF_SRC)/src \
53+
--proto_path $(RPC_DIR)/proto/ \
54+
--RPC-models_out $(RPC_DIR)/python/src/ \
55+
$(RPC_DIR)/proto/onedrive_client/RPC/RPC.proto
56+
57+
.PHONY: RPC-tests-py-proto
58+
RPC-tests-py-proto:
59+
$(PROTOC) \
60+
--proto_path $(PROTOBUF_SRC)/src \
61+
--proto_path $(RPC_DIR)/proto/ \
62+
--proto_path $(RPC_DIR)/python/tests/proto/ \
63+
--python_out $(RPC_DIR)/python/ \
64+
$(RPC_DIR)/python/tests/proto/tests/*.proto
65+
66+
.PHONY: RPC-tests-py-services
67+
RPC-tests-py-services:
68+
$(PROTOC) \
69+
--proto_path $(PROTOBUF_SRC)/src \
70+
--proto_path $(RPC_DIR)/proto/ \
71+
--proto_path $(RPC_DIR)/python/tests/proto/ \
72+
--python_out $(RPC_DIR)/python/ \
73+
--RPC-services_out $(RPC_DIR)/python/ \
74+
$(RPC_DIR)/python/tests/proto/tests/service.proto
75+
76+
.PHONY: RPC-tests-py-entities
77+
RPC-tests-py-entities:
78+
$(PROTOC) \
79+
--proto_path $(PROTOBUF_SRC)/src \
80+
--proto_path $(RPC_DIR)/proto/ \
81+
--proto_path $(RPC_DIR)/python/tests/proto/ \
82+
--entities_out $(RPC_DIR)/python/ \
83+
$(RPC_DIR)/python/tests/proto/tests/entities.proto
2.09 KB
Binary file not shown.
1.28 KB
Binary file not shown.
1.01 KB
Binary file not shown.

0 commit comments

Comments
 (0)