aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2026-05-08 06:29:10 -0500
committerCraig Jennings <c@cjennings.net>2026-05-08 06:29:10 -0500
commit831290d8c51f60da20834e3d5ece425b3d717bd9 (patch)
tree6e706c71615fc1f44a0408a9843916dbde0507a4
parentb5afaa672fa31fc3de93858dacc785388ccbf117 (diff)
downloadrulesets-831290d8c51f60da20834e3d5ece425b3d717bd9.tar.gz
rulesets-831290d8c51f60da20834e3d5ece425b3d717bd9.zip
feat(make): add bootstrap target for fresh-machine setup
Bootstrap chains install, install-hooks, and install-mcp into one command. The three targets stay split so routine re-symlinking stays cheap (no GPG pinentry, no network), but bootstrap gives the fresh-install case one entry point. The gap surfaced on a fresh machine where doctor flagged 4 hook warnings and 8 MCP failures.
-rw-r--r--Makefile9
1 files changed, 9 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index c924289..6e859c8 100644
--- a/Makefile
+++ b/Makefile
@@ -119,6 +119,15 @@ deps: ## Install required tools (claude, node, jq, fzf, ripgrep, emacs, playwrig
fi
@echo "Done."
+##@ Fresh-machine bootstrap
+
+bootstrap: ## First-time machine setup: install + install-hooks + install-mcp
+ @$(MAKE) install
+ @echo ""
+ @$(MAKE) install-hooks
+ @echo ""
+ @$(MAKE) install-mcp
+
##@ Global install (symlinks into ~/.claude/)
install: ## Symlink skills and rules into ~/.claude/