mirror of
https://github.com/openziti/zrok.git
synced 2024-11-23 00:23:48 +01:00
15 lines
489 B
Bash
Executable File
15 lines
489 B
Bash
Executable File
#!/bin/sh
|
|
|
|
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 \
|
|
--grpc-gateway_out=. --grpc-gateway_opt=paths=source_relative \
|
|
--openapiv2_out=. \
|
|
agent/agentGrpc/agent.proto
|
|
|