Skip to content

Commit bb69a59

Browse files
committed
bootstrap
1 parent 469a7ee commit bb69a59

File tree

1 file changed

+12
-3
lines changed

1 file changed

+12
-3
lines changed

makefile

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
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)"

0 commit comments

Comments
 (0)