Skip to content

Commit

Permalink
add service.proto file to grpc compiler
Browse files Browse the repository at this point in the history
  • Loading branch information
ctrl-Felix committed Jun 22, 2022
1 parent 974a582 commit 25a20d9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion compile.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@


def run_protoc(filepath):
if os.path.basename(filepath) == "query.proto":
if os.path.basename(filepath) == "query.proto" or os.path.basename(filepath) == "service.proto":
cmd = [sys.executable, '-m', 'grpc_tools.protoc',
'--proto_path', absolute_path,
'--python_out', 'cosmospy_protobuf',
Expand Down

0 comments on commit 25a20d9

Please sign in to comment.