Co-authored-by: Gelu Vrabie <gelu@exolabs.net>
This commit is contained in:
Gelu Vrabie
2025-07-29 16:58:27 +01:00
committed by GitHub
parent 25fa46c6f6
commit ff3d11c748
2 changed files with 57 additions and 2 deletions

View File

@@ -26,7 +26,7 @@ sync:
uv sync --all-packages
sync-clean:
uv sync --all-packages --force-reinstall
uv sync --all-packages --force-reinstall --no-cache
protobufs:
just regenerate-protobufs
@@ -43,4 +43,13 @@ test-forwarder:
cd networking/forwarder && go test ./src/...
# Build all components (Python packages and Go forwarder)
build-all: build build-forwarder
build-all: build build-forwarder
run n="1" clean="false":
@echo "→ Spinning up {{n}} node(s) (clean={{clean}})"
if [ "{{clean}}" = "true" ]; then ./run.sh -c; else ./run.sh; fi
if [ "{{n}}" -gt 1 ]; then \
for i in $(seq 2 "{{n}}"); do \
if [ "{{clean}}" = "true" ]; then ./run.sh -rc; else ./run.sh -r; fi; \
done; \
fi