# TTG devarea — workspace management targets # # The workspace root defaults to the parent directory of devarea; override: # make clone ROOT=/path/to/workspace SHELL := /bin/bash SCRIPTS := scripts ROOT ?= $(abspath ..) .DEFAULT_GOAL := help .PHONY: help tea clone check setup help: ## List available targets @echo "TTG devarea — usage: make " @echo @grep -E '^[a-zA-Z_-]+:.*?## ' $(MAKEFILE_LIST) | \ awk 'BEGIN {FS = ":.*?## "}; {printf " \033[36m%-8s\033[0m %s\n", $$1, $$2}' tea: ## Install tea (Gitea CLI) and verify login @$(SCRIPTS)/install-tea.sh clone: ## Clone all repos into the workspace (override with ROOT) @$(SCRIPTS)/clone-repos.sh $(ROOT) check: ## Compare the clone list against the Gitea server @$(SCRIPTS)/check-repos.sh setup: tea clone check ## Full setup: tea + clone + check