Skip to content

Commit

Permalink
Add api_messages.proto to go generate command
Browse files Browse the repository at this point in the history
- Also combine the commands for watching and funding service, because
  the api_messages.proto depends on both of these definitions.

Signed-off-by: manoranjith <[email protected]>
  • Loading branch information
manoranjith committed Dec 14, 2023
1 parent aa7a078 commit 2083387
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions generateproto.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,4 @@
package perun

//go:generate protoc --proto_path=proto --go_out=api/grpc/pb --go-grpc_out=api/grpc/pb proto/nodetypes.proto proto/errors.proto proto/payment_service.proto
//go:generate protoc --proto_path=proto --go_out=api/grpc/pb --go-grpc_out=api/grpc/pb proto/sdktypes.proto proto/funding_service.proto
//go:generate protoc --proto_path=proto --go_out=api/grpc/pb --go-grpc_out=api/grpc/pb proto/sdktypes.proto proto/watching_service.proto
//go:generate protoc --proto_path=proto --go_out=api/grpc/pb --go-grpc_out=api/grpc/pb proto/sdktypes.proto proto/watching_service.proto proto/funding_service.proto proto/api_messages.proto

0 comments on commit 2083387

Please sign in to comment.