Add Protobuf with Testing + Codegen #7

Merged
colonelpanic merged 12 commits from mk/add-protobuf into master 2024-05-22 11:27:55 -06:00
2 changed files with 7 additions and 1 deletions
Showing only changes of commit 5bd14cf6bc - Show all commits

View File

@ -13,5 +13,5 @@ jobs:
- uses: actions/checkout@v3
with:
submodules: recursive
- name: graphql-codegen causes no changes
- name: codegen causes no changes
run: ./bin/assert-no-changes-wrapper.sh

View File

@ -4,6 +4,12 @@ git ls-files | xargs md5sum > before.txt
yarn install
yarn graphql-codegen
prettier ./src --write
for proto in $(find ./rbproto -iname '*.proto'); do
name=$(basename "$proto" .proto)
protoc -I=./rbproto --python_out=./rbproto/python --pyi_out=./rbproto/python ./rbproto/shot.proto
yarn pbjs ./rbproto/shot.proto --ts ./rbproto/ts/shot.ts
done
prettier ./rbproto --write
git ls-files | xargs md5sum > after.txt