-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmakefile
More file actions
47 lines (34 loc) · 1.63 KB
/
Copy pathmakefile
File metadata and controls
47 lines (34 loc) · 1.63 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
# Command Center — shortcuts. Run `make` to list them.
#
# Hand-written and safe to edit. `.claude/scripts/setup/generate-makefile.sh`
# regenerates a minimal version of this file and deliberately refuses to
# overwrite an existing one unless you pass --force.
# Name for this assistant's isolated config. Change it if you run more than one.
NICK ?= command-center
# Google Workspace CLI credentials live in their own directory, so this
# assistant's auth never collides with another tool's. `make setup` creates it.
GWS_CONFIG_DIR ?= $(HOME)/.config/gws-$(NICK)
.DEFAULT_GOAL := help
.PHONY: help install dev build start run setup verify-gws check-links clean
help: ## show this list
@grep -hE '^[a-z][a-z-]*:.*?## ' $(MAKEFILE_LIST) \
| awk 'BEGIN{FS=":.*?## "}{printf " \033[36m%-12s\033[0m %s\n", $$1, $$2}'
install: ## install dependencies
pnpm install
dev: ## run the dashboard — web on :5273, API on :4320
pnpm dev
build: ## production build
pnpm build
start: ## serve the production build
pnpm start
run: ## launch Claude with this workspace's env (skills + isolated gws auth)
GOOGLE_WORKSPACE_CLI_CONFIG_DIR=$(GWS_CONFIG_DIR) claude
setup: ## one-time bootstrap: isolated gws config dir + local settings
.claude/scripts/setup/ensure-gws-config-dir.sh gws-$(NICK)
.claude/scripts/setup/init-settings-local.sh
verify-gws: ## check the gws CLI is authenticated (prints the account)
.claude/scripts/setup/verify-gws.sh $(GWS_CONFIG_DIR)
check-links: ## check markdown links (needs lychee: brew install lychee)
lychee --offline --include-fragments './**/*.md'
clean: ## remove build output and dependencies
rm -rf node_modules dist