Skip to content

Commit 08b9dcd

Browse files
Migrate buf config (#294)
Mostly via `buf config migrate`, but then nixing the backwards compatible configs in favor of the defaults.
1 parent 1d779ed commit 08b9dcd

4 files changed

Lines changed: 8 additions & 8 deletions

File tree

buf.gen.yaml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
1-
version: v1
1+
version: v2
22
managed:
33
enabled: true
4-
go_package_prefix:
5-
default: github.com/bufbuild/makego/internal/gen/proto/go
4+
override:
5+
- file_option: go_package_prefix
6+
value: github.com/bufbuild/makego/internal/gen/proto/go
67
plugins:
7-
- name: go
8+
- local: protoc-gen-go
89
out: internal/gen/proto/go
910
opt: paths=source_relative

buf.work.yaml

Lines changed: 0 additions & 3 deletions
This file was deleted.

buf.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
version: v2
2+
modules:
3+
- path: proto

proto/buf.yaml

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)