Skip to content

Commit

Permalink
feat: full api module building alongside gogo proto files with buf sc…
Browse files Browse the repository at this point in the history
…hema registry support (cosmos#10669)

* chore: get proto files setup for buf schema registry

* WIP on bsr setup

* WIP

* WIP

* full API module + gogo proto building together

* switch to pulsar

* regen pulsar

* API module builds

* update ver

* cleanup

* update script

* fix api module

* update api

* update buf.yaml

* add docs

* update to pulsar alpha6

Co-authored-by: Marko <[email protected]>
Co-authored-by: Frojdi Dymylja <[email protected]>
  • Loading branch information
3 people authored Jan 6, 2022
1 parent fbcca26 commit 0cb7fd0
Show file tree
Hide file tree
Showing 139 changed files with 385,719 additions and 876 deletions.
5 changes: 3 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -406,8 +406,9 @@ proto-all: proto-format proto-lint proto-gen

proto-gen:
@echo "Generating Protobuf files"
@if docker ps -a --format '{{.Names}}' | grep -Eq "^${containerProtoGen}$$"; then docker start -a $(containerProtoGen); else docker run --name $(containerProtoGen) -v $(CURDIR):/workspace --workdir /workspace $(protoImageName) \
sh ./scripts/protocgen.sh; fi
# @if docker ps -a --format '{{.Names}}' | grep -Eq "^${containerProtoGen}$$"; then docker start -a $(containerProtoGen); else docker run --name $(containerProtoGen) -v $(CURDIR):/workspace --workdir /workspace $(protoImageName) \
# sh ./scripts/protocgen.sh; fi
sh ./scripts/protocgen.sh

# This generates the SDK's custom wrapper for google.protobuf.Any. It should only be run manually when needed
proto-gen-any:
Expand Down
14 changes: 0 additions & 14 deletions api/buf.yaml

This file was deleted.

Loading

0 comments on commit 0cb7fd0

Please sign in to comment.