File tree Expand file tree Collapse file tree 1 file changed +12
-3
lines changed
Expand file tree Collapse file tree 1 file changed +12
-3
lines changed Original file line number Diff line number Diff line change 1- .PHONY : help install format format-check lint lint-fix check type-check clean build \
1+ .PHONY : help bootstrap install format format-check lint lint-fix check type-check clean build \
22 build-rtc build-wheel generate-proto download-ffi status doctor
33
44# Colors for output
@@ -27,7 +27,7 @@ help: ## Show this help message
2727 @echo " $( BOLD) $( CYAN) Available targets:$( RESET) "
2828 @echo " "
2929 @echo " $( BOLD) Development Workflows:$( RESET) "
30- @grep -E ' ^(build-rtc|build-wheel|download-ffi|status|doctor):.*?## .*$$' $(MAKEFILE_LIST ) | awk ' BEGIN {FS = ":.*?## "}; {printf " $(CYAN)%-20s$(RESET) %s\n", $$1, $$2}'
30+ @grep -E ' ^(bootstrap| build-rtc|build-wheel|download-ffi|status|doctor):.*?## .*$$' $(MAKEFILE_LIST ) | awk ' BEGIN {FS = ":.*?## "}; {printf " $(CYAN)%-20s$(RESET) %s\n", $$1, $$2}'
3131 @echo " "
3232 @echo " $( BOLD) Code Quality:$( RESET) "
3333 @grep -E ' ^(format|format-check|lint|lint-fix|type-check|check):.*?## .*$$' $(MAKEFILE_LIST ) | awk ' BEGIN {FS = ":.*?## "}; {printf " $(CYAN)%-20s$(RESET) %s\n", $$1, $$2}'
@@ -302,4 +302,13 @@ doctor: ## Check development environment health
302302 else \
303303 echo " $( BOLD) $( RED) ⚠️ Found $$ ISSUES issue(s). Please fix the errors above.$( RESET) " ; \
304304 exit 1; \
305- fi
305+ fi
306+
307+ bootstrap : # # Sync repo, deps, and assets to a working dev state (safe to re-run)
308+ @echo " $( BOLD) $( CYAN) 🔄 Syncing development environment...$( RESET) "
309+ @git submodule update --init --recursive
310+ @git lfs install
311+ @git lfs pull
312+ @$(MAKE ) install
313+ @$(MAKE ) download-ffi
314+ @echo " $( BOLD) $( GREEN) ✓ Sync complete$( RESET) "
You can’t perform that action at this time.
0 commit comments