2024-08-23 17:31:46 +02:00
|
|
|
#!/bin/sh
|
|
|
|
|
2024-10-01 17:29:21 +02:00
|
|
|
go install \
|
|
|
|
github.com/grpc-ecosystem/grpc-gateway/v2/protoc-gen-grpc-gateway \
|
|
|
|
github.com/grpc-ecosystem/grpc-gateway/v2/protoc-gen-openapiv2 \
|
|
|
|
google.golang.org/protobuf/cmd/protoc-gen-go \
|
|
|
|
google.golang.org/grpc/cmd/protoc-gen-go-grpc
|
|
|
|
|
|
|
|
protoc --go_out=. --go_opt=paths=source_relative \
|
|
|
|
--go-grpc_out=. --go-grpc_opt=paths=source_relative \
|
2024-10-01 17:49:37 +02:00
|
|
|
--grpc-gateway_out=. --grpc-gateway_opt=paths=source_relative \
|
|
|
|
--openapiv2_out=. \
|
2024-08-23 18:31:02 +02:00
|
|
|
agent/agentGrpc/agent.proto
|
2024-10-01 17:29:21 +02:00
|
|
|
|