Files
linkding/Makefile
Sascha Ißbrücker 9013a8dfc2 Add e2e make command
2025-12-31 15:45:47 +01:00

30 lines
496 B
Makefile

.PHONY: serve
init:
uv sync
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
format:
uv run black bookmarks
npx prettier bookmarks/frontend --write
npx prettier bookmarks/styles --write
e2e:
uv run playwright install chromium
rm -rf static
npm run build
uv run manage.py collectstatic --no-input
uv run pytest bookmarks/tests_e2e -n auto -o "python_files=e2e_test_*.py"
frontend:
npm run dev