Centralize envd proto source of truth to proto/envd/
Remove duplicate proto files from envd/spec/ and update envd's buf.gen.yaml to generate stubs from the canonical proto/envd/ location. Both modules now generate their own Connect RPC stubs from the same source protos.
This commit is contained in:
@ -1,14 +1,15 @@
|
||||
version: v1
|
||||
version: v2
|
||||
plugins:
|
||||
- plugin: go
|
||||
- protoc_builtin: go
|
||||
out: ../internal/services/spec
|
||||
opt: paths=source_relative
|
||||
- plugin: connect-go
|
||||
- local: protoc-gen-connect-go
|
||||
out: ../internal/services/spec
|
||||
opt: paths=source_relative
|
||||
|
||||
inputs:
|
||||
- directory: ../../proto/envd
|
||||
managed:
|
||||
enabled: true
|
||||
optimize_for: SPEED
|
||||
go_package_prefix:
|
||||
default: git.omukk.dev/wrenn/sandbox/envd/internal/services/spec
|
||||
override:
|
||||
- file_option: go_package_prefix
|
||||
value: git.omukk.dev/wrenn/sandbox/envd/internal/services/spec
|
||||
|
||||
Reference in New Issue
Block a user