-
Notifications
You must be signed in to change notification settings - Fork 542
Expand file tree
/
Copy pathMakefile
More file actions
38 lines (29 loc) · 699 Bytes
/
Makefile
File metadata and controls
38 lines (29 loc) · 699 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
35
36
37
38
.PHONY: serve
init:
uv sync
[ -d data ] || mkdir data data/assets data/favicons data/previews
uv run manage.py migrate
npm install
serve:
uv run manage.py runserver
tasks:
uv run manage.py run_huey
test:
uv run pytest -n auto
lint:
uv run ruff check bookmarks
format:
uv run ruff format bookmarks
uv run djlint bookmarks/templates --reformat --quiet --warn
npx prettier bookmarks/frontend --write
npx prettier bookmarks/styles --write
prepare-e2e:
uv run playwright install chromium
rm -rf static
npm run build
uv run manage.py collectstatic --no-input
e2e:
make prepare-e2e
uv run pytest bookmarks/tests_e2e -n auto -o "python_files=e2e_test_*.py"
frontend:
npm run dev