2017-04-04 16:49:42 +00:00
|
|
|
proto: clean
|
2017-10-05 16:11:27 +00:00
|
|
|
cd example; python3 -m grpc_tools.protoc -I. --python_out=. --grpc_python_out=. --python_grpc_out=. helloworld/helloworld.proto
|
2017-09-20 14:45:56 +00:00
|
|
|
cd tests; python3 -m grpc_tools.protoc -I. --python_out=. --python_grpc_out=. bombed.proto
|
2017-01-24 17:10:43 +00:00
|
|
|
|
|
|
|
server:
|
2017-10-05 16:11:27 +00:00
|
|
|
@PYTHONPATH=. cd example; python3 -m helloworld.server
|
2017-06-27 15:19:10 +00:00
|
|
|
|
|
|
|
_server:
|
2017-10-05 16:11:27 +00:00
|
|
|
@PYTHONPATH=. cd example; python3 -m helloworld._reference.server
|
2017-01-24 17:10:43 +00:00
|
|
|
|
|
|
|
client:
|
2017-10-05 16:11:27 +00:00
|
|
|
@PYTHONPATH=. cd example; python3 -m helloworld.client
|
2017-06-27 15:19:10 +00:00
|
|
|
|
|
|
|
_client:
|
2017-10-05 16:11:27 +00:00
|
|
|
@PYTHONPATH=. cd example; python3 -m helloworld._reference.client
|
2017-04-04 16:49:42 +00:00
|
|
|
|
|
|
|
clean:
|
2017-10-05 16:11:27 +00:00
|
|
|
rm -f ./example/helloworld/*_pb2.py
|
|
|
|
rm -f ./example/helloworld/*_grpc.py
|
2017-09-20 14:45:56 +00:00
|
|
|
rm -f ./tests/*_pb2.py
|
|
|
|
rm -f ./tests/*_grpc.py
|