-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use protosol for protobuf definitions
- Loading branch information
1 parent
76c51b9
commit ed6cd08
Showing
24 changed files
with
7,463 additions
and
2,050 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
rm -rf test_suite_env || true | ||
rm src/test_suite/invoke_pb2.py || true | ||
rm src/*.so || true | ||
make -C impl clean | ||
git submodule deinit --all -f | ||
rm -rf protosol || true | ||
deactivate || true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
#!/usr/bin/env sh | ||
|
||
# Fetch protosol | ||
if [ ! -d protosol ]; then | ||
git clone --depth=1 -q https://github.com/firedancer-io/protosol.git | ||
else | ||
cd protosol | ||
git pull -q | ||
cd .. | ||
fi | ||
|
||
# Generate protobuf files with protoc | ||
protoc --python_out=src/test_suite --proto_path=protosol/proto protosol/proto/*.proto | ||
protol --in-place --python-out=src/test_suite protoc --proto-path=protosol/proto protosol/proto/*.proto |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.