File tree Expand file tree Collapse file tree 5 files changed +25
-0
lines changed Expand file tree Collapse file tree 5 files changed +25
-0
lines changed Original file line number Diff line number Diff line change @@ -16,6 +16,10 @@ HTTP/2 transport.
16
16
17
17
You must have the Protocol Buffers compiler (` protoc ` ) installed. You can find
18
18
the instructions for doing this in the [ gRPC Swift Protobuf documentation] [ 0 ] .
19
+ The ` swift ` commands below are all prefixed with ` PROTOC_PATH=$(which protoc) ` ,
20
+ this is to let the build system know where ` protoc ` is located so that it can
21
+ generate stubs for you. You can read more about it in the [ gRPC Swift Protobuf
22
+ documentation] [ 1 ] .
19
23
20
24
## Usage
21
25
@@ -51,3 +55,4 @@ $ PROTOC_PATH=$(which protoc) swift run echo --help
51
55
```
52
56
53
57
[ 0 ] : https://swiftpackageindex.com/grpc/grpc-swift-protobuf/documentation/grpcprotobuf/installing-protoc
58
+ [ 1 ] : https://swiftpackageindex.com/grpc/grpc-swift-protobuf/documentation/grpcprotobuf/generating-stubs
Original file line number Diff line number Diff line change @@ -14,6 +14,10 @@ Guide](https://grpc.io/docs/guides/error/) and is made available via the
14
14
15
15
You must have the Protocol Buffers compiler (` protoc ` ) installed. You can find
16
16
the instructions for doing this in the [ gRPC Swift Protobuf documentation] [ 0 ] .
17
+ The ` swift ` commands below are all prefixed with ` PROTOC_PATH=$(which protoc) ` ,
18
+ this is to let the build system know where ` protoc ` is located so that it can
19
+ generate stubs for you. You can read more about it in the [ gRPC Swift Protobuf
20
+ documentation] [ 1 ] .
17
21
18
22
## Usage
19
23
@@ -31,3 +35,4 @@ Error details:
31
35
```
32
36
33
37
[ 0 ] : https://swiftpackageindex.com/grpc/grpc-swift-protobuf/documentation/grpcprotobuf/installing-protoc
38
+ [ 1 ] : https://swiftpackageindex.com/grpc/grpc-swift-protobuf/documentation/grpcprotobuf/generating-stubs
Original file line number Diff line number Diff line change @@ -14,6 +14,10 @@ HTTP/2 transport.
14
14
15
15
You must have the Protocol Buffers compiler (` protoc ` ) installed. You can find
16
16
the instructions for doing this in the [ gRPC Swift Protobuf documentation] [ 0 ] .
17
+ The ` swift ` commands below are all prefixed with ` PROTOC_PATH=$(which protoc) ` ,
18
+ this is to let the build system know where ` protoc ` is located so that it can
19
+ generate stubs for you. You can read more about it in the [ gRPC Swift Protobuf
20
+ documentation] [ 1 ] .
17
21
18
22
## Usage
19
23
@@ -39,3 +43,4 @@ Hello, PanCakes 🐶
39
43
```
40
44
41
45
[ 0 ] : https://swiftpackageindex.com/grpc/grpc-swift-protobuf/documentation/grpcprotobuf/installing-protoc
46
+ [ 1 ] : https://swiftpackageindex.com/grpc/grpc-swift-protobuf/documentation/grpcprotobuf/generating-stubs
Original file line number Diff line number Diff line change @@ -27,6 +27,10 @@ protoc --descriptor_set_out=path/to/output.pb path/to/input.proto \
27
27
28
28
You must have the Protocol Buffers compiler (` protoc ` ) installed. You can find
29
29
the instructions for doing this in the [ gRPC Swift Protobuf documentation] [ 0 ] .
30
+ The ` swift ` commands below are all prefixed with ` PROTOC_PATH=$(which protoc) ` ,
31
+ this is to let the build system know where ` protoc ` is located so that it can
32
+ generate stubs for you. You can read more about it in the [ gRPC Swift Protobuf
33
+ documentation] [ 1 ] .
30
34
31
35
## Usage
32
36
@@ -66,3 +70,4 @@ $ grpcurl -plaintext -d '{ "text": "Hello" }' 127.0.0.1:31415 echo.Echo.Get
66
70
```
67
71
68
72
[ 0 ] : https://swiftpackageindex.com/grpc/grpc-swift-protobuf/documentation/grpcprotobuf/installing-protoc
73
+ [ 1 ] : https://swiftpackageindex.com/grpc/grpc-swift-protobuf/documentation/grpcprotobuf/generating-stubs
Original file line number Diff line number Diff line change @@ -19,6 +19,10 @@ Index](https://swiftpackageindex.com/grpc/grpc-swift/main/tutorials/grpccore/rou
19
19
20
20
You must have the Protocol Buffers compiler (` protoc ` ) installed. You can find
21
21
the instructions for doing this in the [ gRPC Swift Protobuf documentation] [ 0 ] .
22
+ The ` swift ` commands below are all prefixed with ` PROTOC_PATH=$(which protoc) ` ,
23
+ this is to let the build system know where ` protoc ` is located so that it can
24
+ generate stubs for you. You can read more about it in the [ gRPC Swift Protobuf
25
+ documentation] [ 1 ] .
22
26
23
27
## Usage
24
28
@@ -49,3 +53,4 @@ SUBCOMMANDS:
49
53
```
50
54
51
55
[ 0 ] : https://swiftpackageindex.com/grpc/grpc-swift-protobuf/documentation/grpcprotobuf/installing-protoc
56
+ [ 1 ] : https://swiftpackageindex.com/grpc/grpc-swift-protobuf/documentation/grpcprotobuf/generating-stubs
You can’t perform that action at this time.
0 commit comments