Skip to content

Commit 37901e6

Browse files
authored
fixup genscripts (#7)
1 parent 7ad033c commit 37901e6

3 files changed

Lines changed: 6 additions & 7 deletions

File tree

hack/proto/buf.gen.control.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@ managed:
44
enabled: true
55
plugins:
66
- local: protoc-gen-prost
7-
out: crates/proto/src/generated/protect/control
7+
out: src/proto/generated/protect/control
88
opt:
99
- compile_well_known_types
1010
- extern_path=.google.protobuf=::pbjson_types
1111
- local: protoc-gen-prost-serde
12-
out: crates/proto/src/generated/protect/control
12+
out: src/proto/generated/protect/control
1313
- local: protoc-gen-tonic
14-
out: crates/proto/src/generated/protect/control
14+
out: src/proto/generated/protect/control
1515
inputs:
1616
- module: buf.build/edera-dev/protect

hack/proto/gen.sh

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,7 @@ cd "${REPO_ROOT}" >/dev/null || exit
4747

4848
# We need to clean the directories where the protos are generated into
4949
# so that files that should no longer be generated are deleted.
50-
rm -rf crates/proto/src/generated
51-
rm -rf crates/proto-vendor/src/generated
50+
rm -rf src/proto/generated
5251

5352
# One generate command per protobuf package. This allows us to create the protobuf hierarchy
5453
# that the prost generated protobuf files assume, instead of having all the files

hack/proto/versions.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
# shellcheck disable=SC2034
33
set -e
44

5-
PROTOC_GEN_PROST_REPOSITORY="https://github.com/edera-dev/protoc-gen-prost.git"
6-
PROTOC_GEN_PROST_COMMIT=94b56ce1d898398167a0e38b35e79658a3622972
5+
PROTOC_GEN_PROST_REPOSITORY="https://github.com/neoeinstein/protoc-gen-prost.git"
6+
PROTOC_GEN_PROST_COMMIT=66b503dd1631bc2eaf79db37cde74b01567c8224
77
BUF_COMMIT=69a3227530199878cc50df6ce889b176b498e077
88

99
BUF_VERSION=v1.56.0

0 commit comments

Comments
 (0)