-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
51 lines (35 loc) · 1.29 KB
/
Makefile
File metadata and controls
51 lines (35 loc) · 1.29 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
48
49
50
51
# Single source of truth for repo commands. CI calls these targets too,
# so anything that works in `make` locally works in `make` on a runner.
# Targets delegate to pnpm scripts, which delegate to turborepo.
.PHONY: bootstrap dev dev-web dev-desktop \
build test test-e2e lint lint-fix typecheck check \
ci-web ci-desktop install help
help:
@grep -E '^[a-zA-Z0-9_-]+:.*?## .*$$' $(MAKEFILE_LIST) | awk 'BEGIN {FS=":.*?## "}; {printf " \033[36m%-14s\033[0m %s\n", $$1, $$2}'
bootstrap: ## Install deps + Playwright Chromium (run once after clone)
pnpm bootstrap
dev: dev-desktop ## Alias for `dev-desktop`
dev-web: ## Vite dev server at http://localhost:5173
pnpm dev:web
dev-desktop: ## Tauri desktop app
pnpm dev:desktop
build: ## Turbo: build all packages
pnpm build
test: ## Vitest (unit + integration)
pnpm test
test-e2e: ## Playwright e2e (requires bootstrap)
pnpm test:e2e
lint: ## Biome lint check
pnpm lint
lint-fix: ## Biome lint + format auto-fix
pnpm lint:fix
typecheck: ## tsc --noEmit across packages
pnpm typecheck
check: ## lint + typecheck + test
pnpm check
ci-web: ## CI: lint + typecheck + test + build for @openconcho/web
pnpm ci:web
ci-desktop: ## CI: cargo-check for @openconcho/desktop
pnpm ci:desktop
install: ## pnpm install (no playwright)
pnpm install