Skip to content

Commit

Permalink
build: remove grpc client generation.
Browse files Browse the repository at this point in the history
  • Loading branch information
tjholm committed Sep 16, 2021
1 parent ee39427 commit 941b583
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 12 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,6 @@ jobs:
python-version: ${{ matrix.python-version }}
- name: Install
run: make install
- name: Generate gRPC Client
run: make grpc-client
- name: Run Tox
# Run tox using the version of Python in `PATH`
run: tox -e py
Expand Down
11 changes: 1 addition & 10 deletions makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,17 +3,8 @@ install:
@pip3 install -e .[dev]
@pre-commit install

OUTPUT="./nitric/proto"
CONTRACTS="./contracts/proto"

.PHONY: docs clean license

grpc-client:
@echo Generating Proto Sources
@echo $(OUTPUT)
@mkdir -p $(OUTPUT)
@python3 -m grpc_tools.protoc -I $(CONTRACTS) --python_betterproto_out=$(OUTPUT) ./contracts/proto/**/**/*.proto

docs:
@echo Generating SDK Documentation
@pdoc3 -f --html -o docs nitric
Expand All @@ -30,7 +21,7 @@ license:
@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
@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

build: clean install grpc-client license docs
build: clean install license docs
@echo Building sdist and wheel
@python3 setup.py sdist bdist_wheel

Expand Down

0 comments on commit 941b583

Please sign in to comment.