Skip to content

Commit 20d6b2c

Browse files
committed
Update proto output path
1 parent 602f328 commit 20d6b2c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

codegen/build-proto.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
#!/bin/bash
22

33
SCRIPT_DIR=$(dirname "$(realpath "$0")")
4-
outdir="protos"
4+
PROJECT_DIR=$(realpath "$SCRIPT_DIR/..")
55

6-
OUT_DIR=$SCRIPT_DIR/../$outdir
6+
outdir="src/protos"
77

88
pushd $SCRIPT_DIR/apis
99
just build
1010
popd
1111

1212
pushd $SCRIPT_DIR/proto_build
13-
cargo run -- $OUT_DIR
13+
cargo run -- $PROJECT_DIR/$outdir
1414
popd

0 commit comments

Comments
 (0)