-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
59 lines (48 loc) · 1.18 KB
/
Makefile
File metadata and controls
59 lines (48 loc) · 1.18 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
52
53
54
55
56
57
58
59
.PHONY: quality lint typecheck build clean install dev docs docs-check
# Quality check - lint + typecheck (no auto-fix)
quality: lint typecheck
@echo "✓ Quality checks passed"
# Lint with biome (report only, no fix)
lint:
@echo "Running biome check..."
@bunx biome check src/
# TypeScript type checking
typecheck:
@echo "Running typecheck..."
@bun tsc --noEmit
# Build
build:
@echo "Building..."
@bun run build
# Clean build artifacts
clean:
@rm -rf dist
@echo "Cleaned dist/"
# Install dependencies
install:
@bun install
# Dev mode
dev:
@bun run dev
# Run daemon
daemon:
@bun run cli -- daemon start
# Docs dev server
docs:
@bun run docs:dev
# Docs lint + link check
docs-check:
@bun run check:docs
# Help
help:
@echo "Available targets:"
@echo " quality - Run lint + typecheck (no auto-fix)"
@echo " lint - Run biome check only"
@echo " typecheck - Run tsc --noEmit only"
@echo " build - Compile TypeScript"
@echo " clean - Remove dist/"
@echo " install - Install dependencies"
@echo " dev - Run in dev mode"
@echo " daemon - Start ravi daemon"
@echo " docs - Start docs dev server"
@echo " docs-check - Lint + check doc links"