Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: merge module folders #40

Merged
merged 1 commit into from
Feb 7, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
.PHONE: all


all:
buf generate proto
18 changes: 13 additions & 5 deletions buf.gen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ managed:
default: github.com/utxorpc/spec/gen/go

plugins:

# go

- plugin: buf.build/protocolbuffers/go
out: gen/go
opt: paths=source_relative
Expand All @@ -14,13 +17,16 @@ plugins:
out: gen/go
opt: paths=source_relative

# rust

- plugin: prost
out: gen/rust/src
opt:
- bytes=.
- compile_well_known_types
- file_descriptor_set
- extern_path=.google.protobuf=::pbjson_types

- plugin: prost-serde
out: gen/rust/src

Expand All @@ -37,7 +43,7 @@ plugins:
- compile_well_known_types
- extern_path=.google.protobuf=::pbjson_types

# buf connect
# web

- plugin: es
out: gen/web/src
Expand All @@ -58,6 +64,12 @@ plugins:
- target=ts
- import_extension=.ts

# haskell

- plugin: haskell-protolens
path: proto-lens-protoc
out: gen/haskell

# other

- plugin: buf.build/grpc-ecosystem/openapiv2
Expand All @@ -67,7 +79,3 @@ plugins:
out: gen/docs
opt:
- markdown,docs.md

- plugin: haskell-protolens
path: proto-lens-protoc
out: gen/haskell
7 changes: 0 additions & 7 deletions buf.work.yaml

This file was deleted.

8 changes: 0 additions & 8 deletions build/proto/buf.lock

This file was deleted.

10 changes: 0 additions & 10 deletions build/proto/buf.yaml

This file was deleted.

8 changes: 0 additions & 8 deletions cardano/README.md

This file was deleted.

2 changes: 0 additions & 2 deletions cardano/proto/buf.lock

This file was deleted.

8 changes: 0 additions & 8 deletions cardano/proto/buf.yaml

This file was deleted.

Loading
Loading