-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
49 lines (32 loc) · 1.89 KB
/
Copy pathMakefile
File metadata and controls
49 lines (32 loc) · 1.89 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
.PHONY: dev dev-build reset test test-server test-client seed lint typecheck build format
# ── Docker ────────────────────────────────────────────────────────────────────
dev:
docker compose up
dev-build:
docker compose up --build
reset:
docker compose down -v && docker compose up --build
# ── Tests ─────────────────────────────────────────────────────────────────────
test: test-server test-client
test-server:
cd server && npm test
test-client:
cd client && npm test
# ── Database ──────────────────────────────────────────────────────────────────
seed:
cd server && npx prisma db seed
# ── Code quality ──────────────────────────────────────────────────────────────
lint:
cd server && npm run lint
cd client && npm run lint
typecheck:
cd server && npm run typecheck
cd client && npm run typecheck
# ── Formatting ────────────────────────────────────────────────────────────────
format:
cd server && npm run format
cd client && npm run format
# ── Build ─────────────────────────────────────────────────────────────────────
build:
cd server && npm run build
cd client && npm run build