| name | rebuild-protos |
| description | Regenerate protobuf bindings and docs for all Jonline frontends/backend after editing .proto files. Use when the user changes anything under protos/ or asks to regenerate protos/docs/graphs. |
Jonline is Makefile-driven from the repo root. After editing any .proto file (or when docs/graphs look stale), regenerate everything with:
make
run from the repo root (/Users/jonlatane/Development/jonline). This is the default target: protos docs graphs.
What make protos does
Regenerates proto bindings for every frontend:
cd frontends/flutter && make protos
cd frontends/tamagui && yarn protos
cd frontends/elm-spa && make protos
Note the Rust backend does not get its protos regenerated by this target — its prost-build protos regenerate automatically on cargo build/cargo run unless stale build artifacts need clearing first, in which case use cd backend && make rebuild_protos (see the run-backend skill).
When to use
- After adding/editing a message or RPC in
protos/*.proto.
- Before testing a frontend change that depends on new/changed proto fields — run this first, then use
run-elm, run-tamagui, or run-backend to actually check it.