File tree Expand file tree Collapse file tree 3 files changed +8
-8
lines changed Expand file tree Collapse file tree 3 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -35,24 +35,24 @@ test: typecheck unittest
3535.proto :
3636 mkdir -p $@
3737
38- .proto/dispatch-sdk : .proto
39- buf export buf.build/stealthrocket/dispatch-sdk --output=.proto/dispatch-sdk
38+ .proto/dispatch-proto : .proto
39+ buf export buf.build/stealthrocket/dispatch-proto --output=.proto/dispatch-proto
4040
4141update-proto :
4242 $(MAKE ) clean
4343 find . -type f -name ' *_pb2*.py*' -exec rm {} \;
4444 $(MAKE ) generate
4545
46- generate : .proto/dispatch-sdk
46+ generate : .proto/dispatch-proto
4747 buf generate --template buf.gen.yaml
4848 cd src && find . -type d | while IFS= read -r dir; do touch $$ dir/__init__.py; done
4949 rm src/__init__.py
5050 $(MAKE ) fmt
5151
5252clean :
53- $(RM ) -rf dist .proto .coverage .coverage-html
54- find . -type f -name ' *.pyc' -exec rm {} \;
55- find . -type d -name ' __pycache__' -exec rm -rf {} \;
53+ $(RM ) -r dist .proto .coverage .coverage-html
54+ find . -type f -name ' *.pyc' | xargs $( RM ) -r
55+ find . -type d -name ' __pycache__' | xargs $( RM ) -r
5656
5757build :
5858 $(PYTHON ) -m build
Original file line number Diff line number Diff line change 11<p align =" center " >
2- <img src =" https://github.com/stealthrocket/dispatch-sdk-protobuf /assets/865510/87162355-e184-4058-a733-650eee53f333 " width =" 160 " />
2+ <img src =" https://github.com/stealthrocket/dispatch-proto /assets/865510/87162355-e184-4058-a733-650eee53f333 " width =" 160 " />
33</p >
44
55# Dispatch SDK for Python
Original file line number Diff line number Diff line change 11version : v1
22directories :
3- - .proto/dispatch-sdk
3+ - .proto/dispatch-proto
You can’t perform that action at this time.
0 commit comments