huntlabs / grpc-dlang

Grpc for D programming language, hunt-http library based.
Apache License 2.0
44 stars 6 forks source link

improve doc: README.md #14

Closed mw66 closed 4 years ago

mw66 commented 4 years ago

I was following README.md

$ git clone https://github.com/huntlabs/grpc-dlang
$ cd grpc-dlang

# then I was following README.md
$ dub build :protoc-gen-d
Sub package "grpc:protoc-gen-d" doesn't exist.

Finally, I figured out, what it really means is:

$ git clone https://github.com/dcarp/protobuf-d
$ cd protobuf-d

# then following README.md
$ dub build :protoc-gen-d
...

And later in the doc:

from the section "Generating protobuf code"

it should updated with the latest directory change, and just be:

$ cd examples/SimpleDemo/proto/
$ ./generate.sh
$ cd ..
$ ./build.sh 
Heromyth commented 4 years ago

Thanks. Fixed in commit https://github.com/huntlabs/grpc-dlang/commit/3d19059e4ace4f72293a08affe189ba0978876e9.