Skip to content

Commit 69516ec

Browse files
committed
litrpc: add lit-autopilot protos
In this commit we add all the proto methods and messages that we will need for the initial autopilot implementation.
1 parent edf195e commit 69516ec

16 files changed

+6054
-169
lines changed

.github/workflows/main.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,9 @@ jobs:
114114
working-directory: ./app
115115
run: yarn
116116

117+
- name: run check
118+
run: make rpc-js-compile && make protos-check
119+
117120
- name: compile rpc for golang
118121
run: make rpc
119122

Makefile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -228,6 +228,10 @@ protos-check: protos
228228
@$(call print, "Verifying compiled protos.")
229229
if test -n "$$(git describe --dirty | grep dirty)"; then echo "Protos not properly formatted or not compiled with correct version"; git status; git diff; exit 1; fi
230230

231+
rpc-js-compile:
232+
@$(call print, "Compiling JSON/WASM stubs.")
233+
GOOS=js GOARCH=wasm $(GOBUILD) $(PKG)/litrpc
234+
231235
clean:
232236
@$(call print, "Cleaning source.$(NC)")
233237
$(RM) ./litcli-debug

app/src/types/generated/lit-sessions_pb.d.ts

Lines changed: 338 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)