* 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 <marbar3778@yahoo.com> Co-authored-by: Frojdi Dymylja <33157909+fdymylja@users.noreply.github.com>
17 lines
386 B
Bash
Executable File
17 lines
386 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
# this script is for generating protobuf files for the new google.golang.org/protobuf API
|
|
|
|
set -eo pipefail
|
|
|
|
protoc_gen_gopulsar() {
|
|
go install github.com/cosmos/cosmos-proto/cmd/protoc-gen-go-pulsar@latest 2>/dev/null
|
|
}
|
|
|
|
protoc_gen_gopulsar
|
|
|
|
echo "Generating API module"
|
|
(cd proto; buf generate --template buf.gen.pulsar.yaml)
|
|
|
|
(cd orm/internal; buf generate .)
|