diff --git a/.gitattributes b/.gitattributes index a187d025..8c68105d 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1,6 +1,5 @@ -bindings/typescript/scip.ts linguist-generated=true +bindings/typescript/scip_pb.ts linguist-generated=true bindings/go/scip/scip.pb.go linguist-generated=true bindings/rust/src/generated/scip.rs linguist-generated=true bindings/haskell/src/Proto/**.hs linguist-generated=true docs/scip.md linguist-generated=true -yarn.lock linguist-generated=true diff --git a/buf.gen.yaml b/buf.gen.yaml index 59803072..07bc9500 100644 --- a/buf.gen.yaml +++ b/buf.gen.yaml @@ -1,21 +1,19 @@ # Configuration file for https://buf.build/, which we use for Protobuf code generation. -version: v1 +version: v2 plugins: - - name: doc + - local: protoc-gen-doc out: ./docs/ opt: docs/scip.sprig,scip.md # NOTE: the sprig file is a template, it is not generated. - - name: go + - local: protoc-gen-go out: ./bindings/go/scip/ opt: - paths=source_relative - - name: es + - local: protoc-gen-es out: ./bindings/typescript/ opt: - target=ts - - name: rust - path: protoc-gen-rs + - local: protoc-gen-rs out: ./bindings/rust/src/generated/ - - name: haskell - path: proto-lens-protoc + - local: proto-lens-protoc out: ./bindings/haskell/src