Skip to content

Commit 0d27764

Browse files
committed
fix
1 parent e2d9538 commit 0d27764

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

src/flamenco/runtime/tests/fetch_and_generate.sh

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -28,14 +28,14 @@ else
2828
fi
2929

3030
# Fetch protosol at specified tag/branch
31-
# if [ ! -d protosol ]; then
32-
# git clone --depth=1 --branch "$PROTO_VERSION" https://github.com/firedancer-io/protosol.git
33-
# else
34-
# cd protosol
35-
# git fetch --tags
36-
# git checkout "$PROTO_VERSION"
37-
# cd ..
38-
# fi
31+
if [ ! -d protosol ]; then
32+
git clone --depth=1 --branch "$PROTO_VERSION" https://github.com/firedancer-io/protosol.git
33+
else
34+
cd protosol
35+
git fetch --tags
36+
git checkout "$PROTO_VERSION"
37+
cd ..
38+
fi
3939

4040
./nanopb/generator/nanopb_generator.py -I ./protosol/proto -L "" -C ./protosol/proto/*.proto -D generated
4141

0 commit comments

Comments
 (0)