-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathMakefile
More file actions
34 lines (25 loc) · 746 Bytes
/
Makefile
File metadata and controls
34 lines (25 loc) · 746 Bytes
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
.PHONY: backend-test backend-lint frontend-install frontend-lint frontend-format test lint format bootstrap
bootstrap:
py -3.13 -m pip install --upgrade uv
py -3.13 -m uv venv .venv
py -3.13 -m uv pip install --python .venv -e .\lib[dev]
py -3.13 -m uv pip install --python .venv pre-commit ruff
corepack enable
pnpm --dir frontend install
.\.venv\Scripts\pre-commit install
backend-test:
python -m pytest tests -q
backend-lint:
ruff check apps tests
ruff format --check apps tests
frontend-install:
pnpm --dir frontend install
frontend-lint:
pnpm --dir frontend lint
frontend-format:
pnpm --dir frontend format
test: backend-test
lint: backend-lint frontend-lint
format:
ruff format apps tests
pnpm --dir frontend format