Skip to content

Commit bbfb08d

Browse files
authored
Add proto generation to build command (#96)
2 parents fb4c80a + 9709e8d commit bbfb08d

File tree

3 files changed

+4
-1
lines changed

3 files changed

+4
-1
lines changed

.github/workflows/test.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ on:
77
pull_request:
88

99
jobs:
10-
build:
10+
test:
1111
runs-on: ubuntu-latest
1212
strategy:
1313
matrix:

makefile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,9 @@ grpc-client: install download
3030
@echo Generating Proto Sources
3131
@echo $(OUTPUT)
3232
@mkdir -p $(OUTPUT)
33+
# protoc doesn't create the __init__.py for the nitric module, so we need to create it.
34+
@mkdir -p $(OUTPUT)/nitric/
35+
@touch $(OUTPUT)/nitric/__init.py__
3336
@python3 -m grpc_tools.protoc -I $(CONTRACTS) --python_betterproto_out=$(OUTPUT) ./contracts/proto/*/*/*.proto
3437

3538

nitric/proto/nitric/__init.py__

Whitespace-only changes.

0 commit comments

Comments
 (0)