Bläddra i källkod

refactor Makefile: install→bootstrap, add plugin target

make install now calls install.sh (full bootstrap).
make plugin calls install-plugins.sh (plugins only).
Removes redundant bootstrap target.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
bastien 1 månad sedan
förälder
incheckning
0c164cc9fe
1 ändrade filer med 6 tillägg och 3 borttagningar
  1. 6 3
      Makefile

+ 6 - 3
Makefile

@@ -1,9 +1,12 @@
-.PHONY: help install link doctor update new-skill
+.PHONY: help install plugin link doctor update new-skill
 
 help: ## Show available commands
 	@grep -E '^[a-zA-Z_-]+:.*##' $(MAKEFILE_LIST) | awk 'BEGIN {FS = ":.*## "}; {printf "  make %-14s %s\n", $$1, $$2}'
 
-install: link ## Full install: symlinks + prerequisites + plugins
+install: ## First-time setup: install Claude Code + auth + symlinks + plugins
+	bash install.sh
+
+plugin: ## Install prerequisites + all plugins
 	bash install-plugins.sh
 
 link: ## Create/update symlinks into ~/.claude/
@@ -12,7 +15,7 @@ link: ## Create/update symlinks into ~/.claude/
 doctor: ## Run setup diagnostic
 	bash doctor.sh
 
-update: ## Update config, submodules, plugins, and verify
+update: ## Update Claude Code, config, submodules, plugins, and verify
 	bash update-all.sh
 
 onboard: link ## Onboard an existing project (run from the project directory)