Skip to content

Commit

Permalink
chore: bufをremoteからpluginの指定に変える
Browse files Browse the repository at this point in the history
  • Loading branch information
rito528 committed Jul 19, 2023
1 parent fd98e22 commit c4e047d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions server/buf.gen.yaml
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
version: v1
plugins:
- remote: buf.build/prost/plugins/prost:v0.1.3-2
- plugin: buf.build/community/neoeinstein-prost:v0.2.3
out: src/gen
# https://github.com/neoeinstein/protoc-gen-prost/tree/main/protoc-gen-prost#options
opt:
- bytes=.
- compile_well_known_types
- extern_path=.google.protobuf=::pbjson_types
- file_descriptor_set
- remote: buf.build/prost/plugins/tonic:v0.2.1-1
- plugin: buf.build/community/neoeinstein-tonic:v0.3.0
out: src/gen
# https://github.com/neoeinstein/protoc-gen-prost/tree/main/protoc-gen-tonic
opt:
- no_server=true
- compile_well_known_types
- extern_path=.google.protobuf=::pbjson_types
- remote: buf.build/prost/plugins/crate:v0.1.5-2
- plugin: buf.build/community/neoeinstein-prost-crate:v0.3.1
out: src/gen
# https://github.com/neoeinstein/protoc-gen-prost/tree/main/protoc-gen-prost-crate
opt:
Expand Down

0 comments on commit c4e047d

Please sign in to comment.