File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2626 python-version : ${{ matrix.python-version }}
2727 - name : Install
2828 run : make install
29- - name : Generate gRPC Client
30- run : make grpc-client
3129 - name : Run Tox
3230 # Run tox using the version of Python in `PATH`
3331 run : tox -e py
Original file line number Diff line number Diff line change @@ -3,17 +3,8 @@ install:
33 @pip3 install -e .[dev]
44 @pre-commit install
55
6- OUTPUT ="./nitric/proto"
7- CONTRACTS ="./contracts/proto"
8-
96.PHONY : docs clean license
107
11- grpc-client :
12- @echo Generating Proto Sources
13- @echo $(OUTPUT )
14- @mkdir -p $(OUTPUT )
15- @python3 -m grpc_tools.protoc -I $(CONTRACTS ) --python_betterproto_out=$(OUTPUT ) ./contracts/proto/** /** /* .proto
16-
178docs :
189 @echo Generating SDK Documentation
1910 @pdoc3 -f --html -o docs nitric
@@ -30,7 +21,7 @@ license:
3021 @licenseheaders -t tools/apache-2.tmpl -o " Nitric Technologies Pty Ltd" -y 2021 -n " Nitric Python 3 SDK" -u " https://github.com/nitrictech/python-sdk" -d tests
3122 @licenseheaders -t tools/apache-2.tmpl -o " Nitric Technologies Pty Ltd" -y 2021 -n " Nitric Python 3 SDK" -u " https://github.com/nitrictech/python-sdk" -d tools
3223
33- build : clean install grpc-client license docs
24+ build : clean install license docs
3425 @echo Building sdist and wheel
3526 @python3 setup.py sdist bdist_wheel
3627
You can’t perform that action at this time.
0 commit comments