Skip to content

Commit

Permalink
fix: ensure the proto/nitric folder is a module
Browse files Browse the repository at this point in the history
  • Loading branch information
jyecusch committed Apr 6, 2023
1 parent 547e38a commit 9c48a05
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions makefile
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,9 @@ grpc-client: install download
@echo Generating Proto Sources
@echo $(OUTPUT)
@mkdir -p $(OUTPUT)
# protoc doesn't create the __init__.py for the nitric module, so we need to create it.
@mkdir -p $(OUTPUT)/nitric/
@touch $(OUTPUT)/nitric/__init.py__
@python3 -m grpc_tools.protoc -I $(CONTRACTS) --python_betterproto_out=$(OUTPUT) ./contracts/proto/*/*/*.proto


Expand Down

0 comments on commit 9c48a05

Please sign in to comment.