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