-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
22 lines (17 loc) · 1.16 KB
/
Copy pathMakefile
File metadata and controls
22 lines (17 loc) · 1.16 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# ──────────────────────────────────────────────────────────────────────────────
# Grove CLI
# ──────────────────────────────────────────────────────────────────────────────
grove-build: ## Build the grove CLI binary → bin/grove
@mkdir -p bin
go build -o bin/grove .
@echo "\033[32m ✔ Binary built at bin/grove\033[0m"
grove-install: ## Install grove globally (go install → adds to PATH)
go install .
@echo "\033[32m ✔ grove installed — run: grove --help\033[0m"
docs-dev: ## Start the docs site dev server (http://localhost:5173)
cd docs && npm install --silent && npm run dev
docs-build: ## Build the docs site for production → docs/dist/
cd docs && npm install --silent && npm run build
@echo "\033[32m ✔ Docs built at docs/dist/\033[0m"
docs-preview: ## Preview the production docs build (http://localhost:4173)
cd docs && npm run preview