-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathMakefile
More file actions
55 lines (39 loc) · 2 KB
/
Makefile
File metadata and controls
55 lines (39 loc) · 2 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
# ROBOCO CLI — Developer Workflow
# TypeScript · Node.js ≥ 24 · npm
.PHONY: all check format check-format lint fix test test-unit test-integration test-e2e test-all typecheck build clean coverage
# ─── Full local workflow ───────────────────────────────────────────────
# Mutating targets run sequentially (format → fix), then parallel-safe targets.
all: fix test build
# ─── CI-friendly checks (no mutation) ──────────────────────────────────
check: check-format lint typecheck test build
# ─── Format / Lint ─────────────────────────────────────────────────────
format:
@npm run format
check-format:
@npm run format:check
lint:
@npm run lint
fix: format
@npm run lint:fix
# ─── Type checking ─────────────────────────────────────────────────────
typecheck:
@npm run typecheck
# ─── Tests ─────────────────────────────────────────────────────────────
test:
@npm run test
test-unit:
@npm run test:unit
test-integration:
@npm run test:integration
test-e2e:
@npm run test:e2e
test-all:
@npm run test:all
# ─── Build ─────────────────────────────────────────────────────────────
build:
@npm run build
# ─── Utilities ─────────────────────────────────────────────────────────
clean:
@rm -rf dist coverage
coverage:
@npx vitest run --coverage