mirror of
https://github.com/psviderski/uncloud.git
synced 2026-11-10 20:54:17 +00:00
refactor(proto): move protobuf generated API to the top-level api/pb package
This commit is contained in:
@@ -44,7 +44,7 @@ run = "mise lock --platform linux-x64,macos-arm64"
|
||||
description = "Regenerate gRPC API code from .proto files"
|
||||
run = """
|
||||
protoc --go_out=. --go_opt=paths=source_relative --go-grpc_out=. --go-grpc_opt=paths=source_relative \
|
||||
--proto_path=. --proto_path=internal/machine/api/vendor internal/machine/api/pb/*.proto pkg/distlock/grpc/*.proto
|
||||
--proto_path=. --proto_path=api/pb/vendor api/pb/*.proto pkg/distlock/grpc/*.proto
|
||||
"""
|
||||
|
||||
[tasks.uc]
|
||||
|
||||
Reference in New Issue
Block a user